Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 181.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8.234 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7181, allocations: 142.4 MB / 0.9557 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004532/0.7227, allocations: 4.226 MB / 0.9598 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.8958, allocations: 146.9 MB / 1.103 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.8967, allocations: 15.88 kB / 1.103 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.8973, allocations: 138.9 kB / 1.103 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.8988, allocations: 442.1 kB / 1.104 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.9008, allocations: 0.8279 MB / 1.105 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.9023, allocations: 1.387 MB / 1.106 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.9034, allocations: 0.7528 MB / 1.107 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.9041, allocations: 418 kB / 1.107 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.9047, allocations: 477.4 kB / 1.108 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.9048, allocations: 36 kB / 1.108 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.9056, allocations: 391.7 kB / 1.108 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.9058, allocations: 230.8 kB / 1.108 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004559/0.9063, allocations: 0.5257 MB / 1.109 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.9076, allocations: 1.337 MB / 1.11 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9076, allocations: 4 kB / 1.11 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9076, allocations: 0 / 1.11 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.9077, allocations: 0 / 1.11 GB, free: 0.7617 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002817/0.9105, allocations: 1.4 MB / 1.111 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9105, allocations: 12.02 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.9161, allocations: 0.8265 MB / 1.112 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.9176, allocations: 0.8084 MB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/0.9177, allocations: 78.2 kB / 1.113 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.9179, allocations: 104 kB / 1.113 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.9214, allocations: 1.463 MB / 1.115 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.9215, allocations: 3.938 kB / 1.115 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.9216, allocations: 48 kB / 1.115 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.9217, allocations: 24 kB / 1.115 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004861/0.9265, allocations: 1.94 MB / 1.117 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006643/0.9332, allocations: 3.311 MB / 1.12 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.9368, allocations: 1.376 MB / 1.121 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.9384, allocations: 0.605 MB / 1.122 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.9391, allocations: 482.5 kB / 1.122 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/0.9411, allocations: 0.8204 MB / 1.123 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 3.016e-06/0.9411, allocations: 0 / 1.123 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006368/0.9475, allocations: 1.989 MB / 1.125 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.9476, allocations: 200.9 kB / 1.125 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.9485, allocations: 0.6411 MB / 1.126 GB, free: 184 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.9487, allocations: 49.7 kB / 1.126 GB, free: 128 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.9491, allocations: 440.6 kB / 1.126 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.9494, allocations: 354.8 kB / 1.127 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.9495, allocations: 85.67 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.9497, allocations: 402.7 kB / 1.127 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.9512, allocations: 0.5055 MB / 1.128 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.9529, allocations: 0.617 MB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/0.956, allocations: 1.09 MB / 1.129 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.956, allocations: 0 / 1.129 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004154/0.9602, allocations: 1.391 MB / 1.131 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.9602, allocations: 4 kB / 1.131 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.9602, allocations: 4 kB / 1.131 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.9609, allocations: 84.8 kB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.9623, allocations: 271.6 kB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.9645, allocations: 1.535 MB / 1.132 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.966, allocations: 173.1 kB / 1.133 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.9661, allocations: 47.91 kB / 1.133 GB, free: 8.945 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006106/0.9667, allocations: 291.4 kB / 1.133 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.9669, allocations: 98.81 kB / 1.133 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.9718, allocations: 1.695 MB / 1.135 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.9718, allocations: 12 kB / 1.135 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9718, allocations: 0 / 1.135 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.9718, allocations: 7.969 kB / 1.135 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.9784, allocations: 2.867 MB / 1.137 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.9784, allocations: 0 / 1.137 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.9798, allocations: 259.6 kB / 1.138 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005637/0.9804, allocations: 88.7 kB / 1.138 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/0.9805, allocations: 39.91 kB / 1.138 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.9824, allocations: 1.548 MB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9824, allocations: 4.031 kB / 1.139 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.9869, allocations: 1.538 MB / 1.141 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/0.9876, allocations: 335.4 kB / 1.141 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.9879, allocations: 23.98 kB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.9893, allocations: 143 kB / 1.141 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.9896, allocations: 92.8 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.9897, allocations: 43.97 kB / 1.141 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007099/0.9904, allocations: 475 kB / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.784e-06/0.9904, allocations: 0 / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001282/0.9917, allocations: 387 kB / 1.142 GB, free: 14.78 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/0.9933, allocations: 0.6216 MB / 1.143 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004126/0.9975, allocations: 1.397 MB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9975, allocations: 0 / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.9996, allocations: 0.8319 MB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.001, allocations: 267.9 kB / 1.145 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/1.007, allocations: 2.841 MB / 1.148 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/1.008, allocations: 1.08 MB / 1.149 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006564/1.009, allocations: 143.3 kB / 1.149 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of SimCode: time 6.62e-07/1.009, allocations: 0 / 1.149 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of Templates: time 0.03372/1.043, allocations: 22.39 MB / 1.171 GB, free: 1.438 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time