Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 111.5 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 192 kB / 17.31 MB, free: 5.18 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.186/2.186, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.78 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2396, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007052/0.2467, allocations: 5.458 MB / 0.9564 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6119/0.8586, allocations: 151.1 MB / 1.104 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009369/0.8596, allocations: 18.91 kB / 1.104 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.8603, allocations: 210.1 kB / 1.104 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.8624, allocations: 0.6748 MB / 1.105 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.8647, allocations: 0.9772 MB / 1.106 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.8675, allocations: 1.905 MB / 1.108 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.8691, allocations: 1.079 MB / 1.109 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.8706, allocations: 0.792 MB / 1.11 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.8721, allocations: 0.8655 MB / 1.11 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.8724, allocations: 206.6 kB / 1.111 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.874, allocations: 0.5653 MB / 1.111 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005024/0.8745, allocations: 485.9 kB / 1.112 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.8756, allocations: 0.9061 MB / 1.112 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.8791, allocations: 2.482 MB / 1.115 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8791, allocations: 0 / 1.115 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8792, allocations: 5.406 kB / 1.115 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.698e-05/0.8792, allocations: 0 / 1.115 GB, free: 3.191 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004722/0.8839, allocations: 2.025 MB / 1.117 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.884, allocations: 10.52 kB / 1.117 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8851, allocations: 252.9 kB / 1.117 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.8867, allocations: 0.9885 MB / 1.118 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.8868, allocations: 121.8 kB / 1.118 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.887, allocations: 149.8 kB / 1.118 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.8896, allocations: 1.585 MB / 1.12 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.8897, allocations: 4 kB / 1.12 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.8898, allocations: 63.5 kB / 1.12 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.8899, allocations: 36.59 kB / 1.12 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.8924, allocations: 1.638 MB / 1.122 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00675/0.8992, allocations: 4.081 MB / 1.126 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.9012, allocations: 1.182 MB / 1.127 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.902, allocations: 478.1 kB / 1.127 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.9021, allocations: 51.94 kB / 1.127 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.9033, allocations: 0.7825 MB / 1.128 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 2.975e-06/0.9033, allocations: 4 kB / 1.128 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004565/0.9079, allocations: 1.839 MB / 1.13 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.9081, allocations: 196.9 kB / 1.13 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.9093, allocations: 0.8656 MB / 1.131 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.9095, allocations: 53.94 kB / 1.131 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.9099, allocations: 0.6108 MB / 1.131 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.9102, allocations: 406 kB / 1.132 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.9106, allocations: 257.3 kB / 1.132 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9108, allocations: 354.1 kB / 1.132 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008208/0.9116, allocations: 451.5 kB / 1.133 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/0.9126, allocations: 0.558 MB / 1.133 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.9143, allocations: 0.983 MB / 1.134 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.9143, allocations: 0 / 1.134 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00314/0.9174, allocations: 1.342 MB / 1.136 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.9175, allocations: 5.312 kB / 1.136 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.9175, allocations: 1.375 kB / 1.136 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.9181, allocations: 85.86 kB / 1.136 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.9192, allocations: 263.9 kB / 1.136 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.9214, allocations: 1.643 MB / 1.138 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.9228, allocations: 155.1 kB / 1.138 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.9229, allocations: 54.2 kB / 1.138 GB, free: 12.65 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007753/0.9237, allocations: 352.7 kB / 1.138 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.924, allocations: 118.2 kB / 1.138 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003874/0.9279, allocations: 1.706 MB / 1.14 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.9279, allocations: 13.12 kB / 1.14 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9279, allocations: 5.344 kB / 1.14 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.9279, allocations: 6.516 kB / 1.14 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.9299, allocations: 1.403 MB / 1.141 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.9299, allocations: 0 / 1.141 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/0.9308, allocations: 215.4 kB / 1.142 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.9313, allocations: 79.5 kB / 1.142 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.9314, allocations: 42.61 kB / 1.142 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.9334, allocations: 1.673 MB / 1.143 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.9334, allocations: 6.188 kB / 1.143 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.9365, allocations: 1.406 MB / 1.145 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007206/0.9373, allocations: 369.1 kB / 1.145 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.9375, allocations: 45.28 kB / 1.145 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.9384, allocations: 87 kB / 1.145 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.9387, allocations: 111.9 kB / 1.145 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.9388, allocations: 55.27 kB / 1.145 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009328/0.9398, allocations: 0.6455 MB / 1.146 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9398, allocations: 0 / 1.146 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001292/0.9411, allocations: 458.6 kB / 1.146 GB, free: 8.086 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001443/0.9425, allocations: 0.6263 MB / 1.147 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002611/0.9452, allocations: 1.27 MB / 1.148 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9452, allocations: 1.406 kB / 1.148 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.9465, allocations: 0.7407 MB / 1.149 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.9479, allocations: 319.8 kB / 1.149 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.9533, allocations: 2.643 MB / 1.152 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/0.9543, allocations: 1.244 MB / 1.153 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001255/0.9555, allocations: 334.3 kB / 1.153 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.956, allocations: 159.9 kB / 1.154 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of SimCode: time 1.202e-06/0.956, allocations: 5.312 kB / 1.154 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of Templates: time 0.03514/0.9911, allocations: 20.74 MB / 1.174 GB, free: 10.98 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches