Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009927/0.0009928, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008323/0.008323, allocations: 172 kB / 16.26 MB, free: 6.613 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.44/2.44, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 11.98 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7463, allocations: 142.4 MB / 0.955 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005708/0.7521, allocations: 4.873 MB / 0.9598 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.9271, allocations: 147.1 MB / 1.103 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.9286, allocations: 15.94 kB / 1.103 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.9295, allocations: 162.7 kB / 1.104 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.9323, allocations: 0.529 MB / 1.104 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.9349, allocations: 0.8883 MB / 1.105 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.9374, allocations: 1.669 MB / 1.107 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.9389, allocations: 1.097 MB / 1.108 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008753/0.9398, allocations: 0.5013 MB / 1.108 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007377/0.9406, allocations: 0.5591 MB / 1.109 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.9407, allocations: 36 kB / 1.109 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009457/0.9416, allocations: 379.6 kB / 1.109 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.9419, allocations: 270.6 kB / 1.109 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.9425, allocations: 0.6847 MB / 1.11 GB, free: 216 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.9447, allocations: 2.332 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.9447, allocations: 4 kB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9447, allocations: 0 / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.016e-05/0.9448, allocations: 0 / 1.112 GB, free: 13.87 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003295/0.9481, allocations: 1.647 MB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9481, allocations: 12.03 kB / 1.114 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.9492, allocations: 262.6 kB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.9507, allocations: 0.981 MB / 1.115 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.9509, allocations: 152.8 kB / 1.115 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.9511, allocations: 148 kB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.9539, allocations: 1.597 MB / 1.117 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.954, allocations: 0 / 1.117 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.9541, allocations: 63.94 kB / 1.117 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.9541, allocations: 43.98 kB / 1.117 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.9568, allocations: 1.6 MB / 1.119 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006831/0.9637, allocations: 4.289 MB / 1.123 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.9656, allocations: 1.098 MB / 1.124 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.9664, allocations: 439.7 kB / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.9665, allocations: 41.08 kB / 1.124 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/0.9677, allocations: 0.7075 MB / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 2.976e-06/0.9678, allocations: 0 / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.00418/0.972, allocations: 1.665 MB / 1.127 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.9721, allocations: 200.9 kB / 1.127 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.9733, allocations: 0.8337 MB / 1.128 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.903e-05/0.9734, allocations: 53.7 kB / 1.128 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.9739, allocations: 0.6167 MB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.9743, allocations: 358.8 kB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.9745, allocations: 93.67 kB / 1.129 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9746, allocations: 345.9 kB / 1.129 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/0.9754, allocations: 398.4 kB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.9763, allocations: 0.515 MB / 1.13 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.9779, allocations: 0.8916 MB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.9779, allocations: 4 kB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00269/0.9806, allocations: 1.215 MB / 1.132 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.9807, allocations: 4 kB / 1.132 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9807, allocations: 0 / 1.132 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.9813, allocations: 88.83 kB / 1.132 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.9823, allocations: 235.6 kB / 1.132 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.9845, allocations: 1.55 MB / 1.134 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.9856, allocations: 143 kB / 1.134 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.9857, allocations: 47.95 kB / 1.134 GB, free: 7.02 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: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006945/0.9864, allocations: 352.2 kB / 1.134 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.9866, allocations: 110.6 kB / 1.134 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.9899, allocations: 1.543 MB / 1.136 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.9899, allocations: 12 kB / 1.136 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.9899, allocations: 3.938 kB / 1.136 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.9899, allocations: 11.91 kB / 1.136 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.9916, allocations: 1.365 MB / 1.137 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.9916, allocations: 4 kB / 1.137 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/0.9924, allocations: 199.7 kB / 1.138 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005451/0.993, allocations: 92.69 kB / 1.138 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-05/0.9931, allocations: 39.97 kB / 1.138 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.995, allocations: 1.552 MB / 1.139 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.995, allocations: 0 / 1.139 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.9975, allocations: 1.3 MB / 1.14 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.9981, allocations: 383 kB / 1.141 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.9983, allocations: 27.98 kB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008961/0.9992, allocations: 100.5 kB / 1.141 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.9994, allocations: 109.1 kB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/0.9995, allocations: 43.97 kB / 1.141 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008256/1, allocations: 0.6174 MB / 1.142 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1, allocations: 4 kB / 1.142 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001092/1.001, allocations: 446.5 kB / 1.142 GB, free: 14.47 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001393/1.003, allocations: 0.6163 MB / 1.143 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002387/1.005, allocations: 1.154 MB / 1.144 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.005, allocations: 0 / 1.144 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.006, allocations: 0.6856 MB / 1.145 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.008, allocations: 296.9 kB / 1.145 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00961/1.018, allocations: 3.352 MB / 1.148 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.019, allocations: 1.224 MB / 1.149 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002/1.021, allocations: 317 kB / 1.15 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/1.022, allocations: 143.3 kB / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of SimCode: time 1.322e-06/1.022, allocations: 0 / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of Templates: time 0.04978/1.071, allocations: 18.48 MB / 1.168 GB, free: 4.48 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches