Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008043/0.0008043, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8804/0.8804, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.795e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5311/0.5312, allocations: 138.4 MB / 1.136 GB, free: 13.86 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.5506, allocations: 19.72 MB / 1.155 GB, free: 284 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.5523, allocations: 70.59 kB / 1.155 GB, free: 248 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.5538, allocations: 1.181 MB / 1.157 GB, free: 20 kB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.5552, allocations: 0.9303 MB / 1.157 GB, free: 15.7 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.556, allocations: 391.5 kB / 1.158 GB, free: 15.47 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.5572, allocations: 1.308 MB / 1.159 GB, free: 14.9 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.5579, allocations: 0.5381 MB / 1.16 GB, free: 14.68 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.5588, allocations: 0.7232 MB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.5598, allocations: 0.9323 MB / 1.161 GB, free: 14.28 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.5599, allocations: 66.12 kB / 1.161 GB, free: 14.28 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.5602, allocations: 114.5 kB / 1.161 GB, free: 14.26 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.5604, allocations: 332.7 kB / 1.162 GB, free: 14.09 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.5607, allocations: 287.7 kB / 1.162 GB, free: 13.96 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5619, allocations: 1.23 MB / 1.163 GB, free: 13.5 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5619, allocations: 0 / 1.163 GB, free: 13.5 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5619, allocations: 0 / 1.163 GB, free: 13.5 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.219e-05/0.562, allocations: 0 / 1.163 GB, free: 13.5 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002111/0.5641, allocations: 1.52 MB / 1.165 GB, free: 12.47 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5641, allocations: 10.25 kB / 1.165 GB, free: 12.47 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.5643, allocations: 140.8 kB / 1.165 GB, free: 12.39 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.5659, allocations: 1.045 MB / 1.166 GB, free: 11.85 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.566, allocations: 102.9 kB / 1.166 GB, free: 11.77 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.5661, allocations: 48.25 kB / 1.166 GB, free: 11.75 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.5668, allocations: 0.5245 MB / 1.167 GB, free: 11.53 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5668, allocations: 1 kB / 1.167 GB, free: 11.53 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.5668, allocations: 17.34 kB / 1.167 GB, free: 11.52 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.5668, allocations: 13.72 kB / 1.167 GB, free: 11.52 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.5674, allocations: 415.9 kB / 1.167 GB, free: 11.38 MB / 1.026 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.002359/0.5698, allocations: 1.843 MB / 1.169 GB, free: 10.39 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.5705, allocations: 431.6 kB / 1.169 GB, free: 10.23 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.5709, allocations: 271.2 kB / 1.169 GB, free: 10.14 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5709, allocations: 5.578 kB / 1.169 GB, free: 10.14 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.5713, allocations: 302.6 kB / 1.17 GB, free: 10.02 MB / 1.026 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.5713, allocations: 3.938 kB / 1.17 GB, free: 10.01 MB / 1.026 GB Notification: Performance of matching and sorting (n=45): time 0.001921/0.5733, allocations: 1.114 MB / 1.171 GB, free: 9.625 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.5733, allocations: 61.36 kB / 1.171 GB, free: 9.559 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5745, allocations: 1.185 MB / 1.172 GB, free: 9.164 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5745, allocations: 37.33 kB / 1.172 GB, free: 9.125 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.5749, allocations: 0.5454 MB / 1.173 GB, free: 8.695 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.575, allocations: 157.3 kB / 1.173 GB, free: 8.57 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5751, allocations: 95.53 kB / 1.173 GB, free: 8.52 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.5752, allocations: 330.6 kB / 1.173 GB, free: 8.203 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.5755, allocations: 216.6 kB / 1.173 GB, free: 8.141 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.5759, allocations: 330.6 kB / 1.174 GB, free: 7.949 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.5766, allocations: 0.5122 MB / 1.174 GB, free: 7.676 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5766, allocations: 1.438 kB / 1.174 GB, free: 7.676 MB / 1.026 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001174/0.5777, allocations: 0.8585 MB / 1.175 GB, free: 7.324 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5778, allocations: 13.16 kB / 1.175 GB, free: 7.32 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.5778, allocations: 2.781 kB / 1.175 GB, free: 7.32 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.5781, allocations: 180.4 kB / 1.175 GB, free: 7.273 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.5784, allocations: 99.48 kB / 1.175 GB, free: 7.262 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.5809, allocations: 2.832 MB / 1.178 GB, free: 5.195 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.5811, allocations: 75.95 kB / 1.178 GB, free: 5.164 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.5812, allocations: 21.33 kB / 1.178 GB, free: 5.16 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003492/0.5815, allocations: 388.7 kB / 1.179 GB, free: 4.961 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5816, allocations: 127.6 kB / 1.179 GB, free: 4.895 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.5829, allocations: 0.7643 MB / 1.179 GB, free: 4.594 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5829, allocations: 8.719 kB / 1.179 GB, free: 4.59 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5829, allocations: 7.531 kB / 1.179 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.583, allocations: 2.859 kB / 1.179 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.5847, allocations: 1.454 MB / 1.181 GB, free: 3.914 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5847, allocations: 1.094 kB / 1.181 GB, free: 3.914 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.5848, allocations: 51.78 kB / 1.181 GB, free: 3.906 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.5851, allocations: 198.6 kB / 1.181 GB, free: 3.84 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.5852, allocations: 13.86 kB / 1.181 GB, free: 3.832 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.588, allocations: 4.254 MB / 1.185 GB, free: 384 kB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.588, allocations: 0 / 1.185 GB, free: 384 kB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.5893, allocations: 1.092 MB / 1.186 GB, free: 15.86 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.5895, allocations: 151.4 kB / 1.186 GB, free: 15.77 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.5895, allocations: 18.75 kB / 1.186 GB, free: 15.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5897, allocations: 34.41 kB / 1.186 GB, free: 15.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5898, allocations: 67.53 kB / 1.187 GB, free: 15.73 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.5898, allocations: 15.59 kB / 1.187 GB, free: 15.72 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0007835/0.5906, allocations: 0.8266 MB / 1.187 GB, free: 15.45 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.5906, allocations: 0 / 1.187 GB, free: 15.45 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005766/0.5912, allocations: 216.5 kB / 1.188 GB, free: 15.4 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008837/0.5921, allocations: 0.5152 MB / 1.188 GB, free: 15.19 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.5931, allocations: 0.6965 MB / 1.189 GB, free: 14.88 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5931, allocations: 5.25 kB / 1.189 GB, free: 14.88 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.5936, allocations: 0.5451 MB / 1.189 GB, free: 14.54 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.5943, allocations: 227.6 kB / 1.19 GB, free: 14.45 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.5968, allocations: 2.209 MB / 1.192 GB, free: 13.4 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.5976, allocations: 0.5584 MB / 1.192 GB, free: 13.24 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.5978, allocations: 131.3 kB / 1.192 GB, free: 13.2 MB / 1.042 GB Notification: Performance of SimCode: time 4.91e-07/0.5978, allocations: 1 kB / 1.192 GB, free: 13.2 MB / 1.042 GB Notification: Performance of Templates: time 0.01823/0.616, allocations: 21.25 MB / 1.213 GB, free: 1.938 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.959314299747348]