Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001109/0.001109, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009875/0.009875, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.511/1.511, 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 11.0.0-master/package.mo): time 2.855/2.855, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 12.91 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.366, allocations: 159.6 MB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008341/0.3744, allocations: 6.541 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.5474, allocations: 147.2 MB / 1.209 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.5494, allocations: 19.88 kB / 1.209 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.5502, allocations: 194.4 kB / 1.209 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.553, allocations: 0.6674 MB / 1.21 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.5555, allocations: 0.8918 MB / 1.211 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.5583, allocations: 1.948 MB / 1.212 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.5599, allocations: 1.043 MB / 1.213 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.561, allocations: 0.5403 MB / 1.214 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.5617, allocations: 0.6138 MB / 1.215 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.5619, allocations: 36 kB / 1.215 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009507/0.5628, allocations: 371.6 kB / 1.215 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.5631, allocations: 274.6 kB / 1.215 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.5638, allocations: 0.7433 MB / 1.216 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.5659, allocations: 2.425 MB / 1.218 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5659, allocations: 0 / 1.218 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5659, allocations: 0 / 1.218 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.566, allocations: 0 / 1.218 GB, free: 0.8203 MB / 0.9669 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.00321/0.5692, allocations: 1.69 MB / 1.22 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5692, allocations: 11.97 kB / 1.22 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.5702, allocations: 266.6 kB / 1.22 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.5715, allocations: 0.9772 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5717, allocations: 152.8 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5719, allocations: 148 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.5745, allocations: 1.6 MB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.5745, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.5747, allocations: 64 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.5747, allocations: 36 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.5772, allocations: 1.6 MB / 1.225 GB, free: 10.11 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/0.5839, allocations: 4.776 MB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.5857, allocations: 1.108 MB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/0.5864, allocations: 435.7 kB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.073e-05/0.5865, allocations: 44.94 kB / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.5877, allocations: 0.7075 MB / 1.232 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 2.935e-06/0.5878, allocations: 4 kB / 1.232 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.003828/0.5916, allocations: 1.668 MB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.5917, allocations: 196.9 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.5928, allocations: 0.8414 MB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5929, allocations: 49.78 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.5934, allocations: 0.6245 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.5937, allocations: 354.9 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.5938, allocations: 93.67 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.594, allocations: 341.9 kB / 1.236 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.5947, allocations: 406.4 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/0.5955, allocations: 0.515 MB / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.5971, allocations: 0.8955 MB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5971, allocations: 0 / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002511/0.5996, allocations: 1.219 MB / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.5996, allocations: 8 kB / 1.239 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5997, allocations: 4.062 kB / 1.239 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.6002, allocations: 80.78 kB / 1.239 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.6012, allocations: 243.6 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.6033, allocations: 1.545 MB / 1.24 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.6044, allocations: 154.8 kB / 1.241 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/0.6045, allocations: 51.95 kB / 1.241 GB, free: 9.277 MB / 0.9981 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.0007139/0.6052, allocations: 356.1 kB / 1.241 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6054, allocations: 114.6 kB / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.6085, allocations: 1.543 MB / 1.243 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6085, allocations: 16 kB / 1.243 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6085, allocations: 0 / 1.243 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6085, allocations: 7.969 kB / 1.243 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.6102, allocations: 1.365 MB / 1.244 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6102, allocations: 0 / 1.244 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.611, allocations: 203.7 kB / 1.244 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/0.6115, allocations: 92.7 kB / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.6116, allocations: 31.97 kB / 1.244 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.6133, allocations: 1.559 MB / 1.246 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6134, allocations: 0 / 1.246 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.6158, allocations: 1.296 MB / 1.247 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.6164, allocations: 387 kB / 1.247 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.6166, allocations: 27.94 kB / 1.247 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.6175, allocations: 117.3 kB / 1.248 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.6177, allocations: 101.1 kB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/0.6178, allocations: 51.97 kB / 1.248 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008331/0.6187, allocations: 0.6135 MB / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6187, allocations: 0 / 1.248 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001182/0.6199, allocations: 482.5 kB / 1.249 GB, free: 0.6797 MB / 0.9981 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.001463/0.6213, allocations: 0.6125 MB / 1.249 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5534/1.175, allocations: 1.152 MB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/1.175, allocations: 4.719 kB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.176, allocations: 0.6831 MB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/1.178, allocations: 313.7 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/1.183, allocations: 3.203 MB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.184, allocations: 1.227 MB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001344/1.185, allocations: 321 kB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/1.185, allocations: 147 kB / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/1.185, allocations: 0 / 1.256 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04391/1.229, allocations: 19.56 MB / 1.275 GB, free: 181.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches