Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 92.31 kB / 16.02 MB, free: 80 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.001257/0.001257, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.363 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.448/2.448, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005264, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7374, allocations: 142.4 MB / 0.9557 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004661/0.7421, allocations: 4.061 MB / 0.9597 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.9141, allocations: 146.8 MB / 1.103 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.9152, allocations: 15.88 kB / 1.103 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.916, allocations: 142.9 kB / 1.103 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.9181, allocations: 457.6 kB / 1.104 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.9203, allocations: 0.7358 MB / 1.104 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.9221, allocations: 1.281 MB / 1.106 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.9232, allocations: 0.592 MB / 1.106 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.924, allocations: 370.2 kB / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.9247, allocations: 409.7 kB / 1.107 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.9249, allocations: 32 kB / 1.107 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009664/0.9258, allocations: 367.7 kB / 1.107 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.9261, allocations: 199 kB / 1.108 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.9266, allocations: 470.8 kB / 1.108 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.9282, allocations: 1.188 MB / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9282, allocations: 0 / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9283, allocations: 0 / 1.109 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.714e-05/0.9283, allocations: 0 / 1.109 GB, free: 1.68 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002845/0.9312, allocations: 1.258 MB / 1.11 GB, free: 384 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.9312, allocations: 12.03 kB / 1.11 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.9322, allocations: 195.3 kB / 1.111 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.9337, allocations: 0.7662 MB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/0.9338, allocations: 69.98 kB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.934, allocations: 84 kB / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.936, allocations: 0.9652 MB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.9361, allocations: 4 kB / 1.112 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.9362, allocations: 39.98 kB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.9362, allocations: 23.94 kB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.9383, allocations: 1.163 MB / 1.114 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005025/0.9434, allocations: 2.708 MB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.945, allocations: 0.8511 MB / 1.117 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.9456, allocations: 326.6 kB / 1.117 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-05/0.9457, allocations: 36.67 kB / 1.117 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009812/0.9467, allocations: 0.5392 MB / 1.118 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/0.9467, allocations: 0 / 1.118 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003383/0.9501, allocations: 1.298 MB / 1.119 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.9503, allocations: 196.9 kB / 1.119 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.9512, allocations: 0.6566 MB / 1.12 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.258e-05/0.9513, allocations: 45.7 kB / 1.12 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.9517, allocations: 404.4 kB / 1.12 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.9519, allocations: 287.9 kB / 1.121 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.9521, allocations: 73.67 kB / 1.121 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9523, allocations: 394.7 kB / 1.121 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.9529, allocations: 293.8 kB / 1.121 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.9536, allocations: 399.1 kB / 1.122 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.9548, allocations: 0.6594 MB / 1.122 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9548, allocations: 0 / 1.122 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002111/0.9569, allocations: 0.9268 MB / 1.123 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.957, allocations: 9.5 kB / 1.123 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.957, allocations: 8.062 kB / 1.123 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.9576, allocations: 80.7 kB / 1.123 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.9584, allocations: 187.8 kB / 1.124 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.9605, allocations: 1.52 MB / 1.125 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/0.9613, allocations: 108.8 kB / 1.125 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.9614, allocations: 39.97 kB / 1.125 GB, free: 0.5938 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.000503/0.9619, allocations: 275.8 kB / 1.126 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.9621, allocations: 90.88 kB / 1.126 GB, free: 228 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.9647, allocations: 1.171 MB / 1.127 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9647, allocations: 8 kB / 1.127 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9647, allocations: 11.94 kB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.9647, allocations: 7.969 kB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.9659, allocations: 0.9306 MB / 1.128 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.9659, allocations: 3.984 kB / 1.128 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.9665, allocations: 159.7 kB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.9671, allocations: 88.77 kB / 1.128 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.9671, allocations: 23.98 kB / 1.128 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.969, allocations: 1.544 MB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.969, allocations: 4.031 kB / 1.13 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.9711, allocations: 1.002 MB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.9716, allocations: 307.5 kB / 1.131 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.9717, allocations: 20 kB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.9724, allocations: 85.89 kB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.9726, allocations: 84.89 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.9726, allocations: 35.97 kB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006231/0.9733, allocations: 479 kB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9733, allocations: 0 / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008912/0.9742, allocations: 327.2 kB / 1.132 GB, free: 9.723 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001447/0.9756, allocations: 0.6116 MB / 1.132 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.9775, allocations: 0.9016 MB / 1.133 GB, free: 8.375 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9775, allocations: 4.062 kB / 1.133 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.9785, allocations: 0.5432 MB / 1.134 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.9798, allocations: 274.9 kB / 1.134 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.9841, allocations: 2.371 MB / 1.136 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.9848, allocations: 1.04 MB / 1.137 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.9852, allocations: 131.4 kB / 1.137 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of SimCode: time 9.52e-07/0.9852, allocations: 0 / 1.137 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of Templates: time 0.02636/1.012, allocations: 19.06 MB / 1.156 GB, free: 0.9492 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches