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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001567/0.001567, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001913/0.001913, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.94 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008796/0.3597, allocations: 7.019 MB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.5433, allocations: 148.8 MB / 1.204 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.5449, allocations: 27.88 kB / 1.204 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.5458, allocations: 194.4 kB / 1.204 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.5486, allocations: 0.6652 MB / 1.205 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.5514, allocations: 0.899 MB / 1.206 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.554, allocations: 1.948 MB / 1.208 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.5556, allocations: 1.075 MB / 1.209 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.5567, allocations: 0.7004 MB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009825/0.5577, allocations: 0.8167 MB / 1.21 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.558, allocations: 116 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.5592, allocations: 455.6 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.5596, allocations: 394.5 kB / 1.211 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009066/0.5605, allocations: 0.8744 MB / 1.212 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.5632, allocations: 2.527 MB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5632, allocations: 0 / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5632, allocations: 0 / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.5632, allocations: 0 / 1.215 GB, free: 1.707 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.004413/0.5676, allocations: 2.042 MB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.5677, allocations: 8.031 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.5689, allocations: 262.4 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.5704, allocations: 0.9734 MB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.5706, allocations: 152.8 kB / 1.218 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.5708, allocations: 152 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.5737, allocations: 1.589 MB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5737, allocations: 0 / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.5739, allocations: 63.94 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.5739, allocations: 40 kB / 1.22 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.5764, allocations: 1.592 MB / 1.221 GB, free: 10.68 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.007407/0.5839, allocations: 4.733 MB / 1.226 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.5858, allocations: 1.092 MB / 1.227 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.5865, allocations: 435.6 kB / 1.227 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.472e-05/0.5866, allocations: 45.02 kB / 1.228 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.588, allocations: 0.7081 MB / 1.228 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 4.098e-06/0.588, allocations: 0 / 1.228 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.004121/0.5922, allocations: 1.649 MB / 1.23 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5923, allocations: 196.9 kB / 1.23 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5935, allocations: 0.8453 MB / 1.231 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.5936, allocations: 49.7 kB / 1.231 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.5941, allocations: 0.6167 MB / 1.232 GB, free: 8 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.5944, allocations: 357.2 kB / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.5948, allocations: 226.7 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5949, allocations: 349.9 kB / 1.232 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.5957, allocations: 398.4 kB / 1.233 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.5966, allocations: 0.5111 MB / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.5981, allocations: 0.8877 MB / 1.234 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5981, allocations: 0 / 1.234 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002623/0.6008, allocations: 1.207 MB / 1.235 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.6008, allocations: 12.11 kB / 1.235 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6008, allocations: 4 kB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.6014, allocations: 76.78 kB / 1.235 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.6024, allocations: 239.6 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.6046, allocations: 1.537 MB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6058, allocations: 145.1 kB / 1.237 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6059, allocations: 55.95 kB / 1.237 GB, free: 9.844 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.001/0.6069, allocations: 356.3 kB / 1.238 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.6071, allocations: 110.6 kB / 1.238 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.6105, allocations: 1.532 MB / 1.239 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.6105, allocations: 15.94 kB / 1.239 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6105, allocations: 0 / 1.239 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6105, allocations: 7.969 kB / 1.239 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.6125, allocations: 1.38 MB / 1.241 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.6125, allocations: 0 / 1.241 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/0.6133, allocations: 195.7 kB / 1.241 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.6139, allocations: 84.77 kB / 1.241 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.614, allocations: 35.97 kB / 1.241 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.6161, allocations: 1.552 MB / 1.242 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6161, allocations: 0 / 1.242 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.6188, allocations: 1.289 MB / 1.244 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.6193, allocations: 359.4 kB / 1.244 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.6196, allocations: 31.92 kB / 1.244 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/0.6205, allocations: 99.89 kB / 1.244 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.6207, allocations: 97.11 kB / 1.244 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6208, allocations: 47.97 kB / 1.244 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009445/0.6218, allocations: 0.6135 MB / 1.245 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6218, allocations: 0 / 1.245 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001391/0.6232, allocations: 486.5 kB / 1.245 GB, free: 1.316 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.001638/0.6248, allocations: 0.6158 MB / 1.246 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5787/1.204, allocations: 1.145 MB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.204, allocations: 2.594 kB / 1.247 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.205, allocations: 0.6857 MB / 1.248 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.207, allocations: 306.4 kB / 1.248 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/1.211, allocations: 3.187 MB / 1.251 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/1.212, allocations: 1.225 MB / 1.252 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001063/1.213, allocations: 316.8 kB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/1.213, allocations: 143 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.533e-06/1.213, allocations: 3.562 kB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03865/1.252, allocations: 19.73 MB / 1.272 GB, free: 185.2 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