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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001735/0.001735, allocations: 108 kB / 15.61 MB, free: 152 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.002272/0.002272, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6609, allocations: 140.4 MB / 0.9496 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004945/0.6658, allocations: 4.468 MB / 0.9539 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.8262, allocations: 150.8 MB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/0.827, allocations: 15.94 kB / 1.101 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.8276, allocations: 186.2 kB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.8293, allocations: 0.5322 MB / 1.102 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.8311, allocations: 0.8244 MB / 1.103 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.8324, allocations: 1.363 MB / 1.104 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008284/0.8333, allocations: 0.6219 MB / 1.105 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.8339, allocations: 0.4982 MB / 1.105 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.8344, allocations: 0.5211 MB / 1.106 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.8346, allocations: 120 kB / 1.106 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.8354, allocations: 463.6 kB / 1.106 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.8357, allocations: 307 kB / 1.106 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004625/0.8362, allocations: 0.5635 MB / 1.107 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.8378, allocations: 1.624 MB / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8378, allocations: 4 kB / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8378, allocations: 0 / 1.109 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.8379, allocations: 0 / 1.109 GB, free: 14.5 MB / 0.8731 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.00245/0.8403, allocations: 1.46 MB / 1.11 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.8404, allocations: 8.031 kB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.8413, allocations: 199.3 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.8423, allocations: 0.7546 MB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.8423, allocations: 66 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.8425, allocations: 84 kB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.844, allocations: 0.9768 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.844, allocations: 0 / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/0.8441, allocations: 36 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.8441, allocations: 20 kB / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.8459, allocations: 1.159 MB / 1.113 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.8499, allocations: 2.671 MB / 1.116 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.8515, allocations: 0.8549 MB / 1.117 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.8521, allocations: 322.7 kB / 1.117 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.8522, allocations: 32.67 kB / 1.117 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/0.8532, allocations: 0.5315 MB / 1.118 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.535e-06/0.8532, allocations: 0 / 1.118 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003232/0.8564, allocations: 1.286 MB / 1.119 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.8565, allocations: 192.9 kB / 1.119 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.8574, allocations: 0.6566 MB / 1.12 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.8574, allocations: 45.7 kB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.8578, allocations: 408.4 kB / 1.12 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.858, allocations: 283.9 kB / 1.12 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.8583, allocations: 174.5 kB / 1.121 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.8585, allocations: 390.8 kB / 1.121 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.859, allocations: 301.8 kB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/0.8597, allocations: 391 kB / 1.122 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.8609, allocations: 0.6516 MB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.8609, allocations: 7.938 kB / 1.122 GB, free: 232 kB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002053/0.863, allocations: 0.9113 MB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.863, allocations: 7.938 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.863, allocations: 4 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.8636, allocations: 84.83 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.8644, allocations: 179.7 kB / 1.123 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.8664, allocations: 1.63 MB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.8672, allocations: 99.22 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.8673, allocations: 43.91 kB / 1.125 GB, free: 13.11 MB / 0.8887 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.0004262/0.8677, allocations: 279.8 kB / 1.125 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.8679, allocations: 86.97 kB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.8705, allocations: 1.167 MB / 1.127 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.8705, allocations: 11.94 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8706, allocations: 4 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.8706, allocations: 3.984 kB / 1.127 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.8716, allocations: 0.9384 MB / 1.127 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8716, allocations: 0 / 1.127 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.8723, allocations: 151.8 kB / 1.128 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.8727, allocations: 72.78 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.8728, allocations: 39.91 kB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.8747, allocations: 1.654 MB / 1.129 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8747, allocations: 0 / 1.129 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.8768, allocations: 1.002 MB / 1.13 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.8772, allocations: 271.7 kB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.8774, allocations: 31.92 kB / 1.131 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.8781, allocations: 67.69 kB / 1.131 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.8782, allocations: 80.88 kB / 1.131 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.8783, allocations: 39.98 kB / 1.131 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006109/0.8789, allocations: 487 kB / 1.131 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8789, allocations: 0 / 1.131 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008404/0.8798, allocations: 323.2 kB / 1.132 GB, free: 6.184 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.001387/0.8812, allocations: 0.6027 MB / 1.132 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002948/0.8841, allocations: 1.112 MB / 1.133 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8842, allocations: 4 kB / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.8852, allocations: 0.5472 MB / 1.134 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.8864, allocations: 299.5 kB / 1.134 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.8903, allocations: 1.859 MB / 1.136 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.8909, allocations: 1.04 MB / 1.137 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000855/0.8918, allocations: 271 kB / 1.137 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.8921, allocations: 115.4 kB / 1.137 GB, free: 468 kB / 0.8887 GB Notification: Performance of SimCode: time 3e-07/0.8921, allocations: 0 / 1.137 GB, free: 468 kB / 0.8887 GB Notification: Performance of Templates: time 0.02631/0.9184, allocations: 15.52 MB / 1.152 GB, free: 1.098 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/jenkins/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