Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001555, allocations: 102.6 kB / 16.27 MB, free: 5.863 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.001781/0.001781, allocations: 188.9 kB / 17.2 MB, free: 5.512 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 62.33 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2841, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6887/0.9729, allocations: 157.5 MB / 1.104 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02941/1.002, allocations: 22.07 MB / 1.126 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/1.006, allocations: 57.5 kB / 1.126 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/1.01, allocations: 2.171 MB / 1.128 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003627/1.013, allocations: 1.457 MB / 1.129 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/1.016, allocations: 0.6193 MB / 1.13 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003449/1.019, allocations: 1.926 MB / 1.132 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/1.021, allocations: 1.125 MB / 1.133 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/1.023, allocations: 0.9103 MB / 1.134 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/1.025, allocations: 1.593 MB / 1.135 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/1.025, allocations: 96.91 kB / 1.135 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/1.026, allocations: 141.1 kB / 1.135 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004891/1.026, allocations: 0.5501 MB / 1.136 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008093/1.027, allocations: 0.8001 MB / 1.137 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/1.029, allocations: 1.901 MB / 1.139 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.029, allocations: 3.938 kB / 1.139 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.029, allocations: 1.719 kB / 1.139 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.048e-05/1.029, allocations: 0.6562 kB / 1.139 GB, free: 5.445 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004246/1.034, allocations: 2.345 MB / 1.141 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.034, allocations: 14.09 kB / 1.141 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/1.034, allocations: 237.4 kB / 1.141 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.035, allocations: 1.029 MB / 1.142 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/1.035, allocations: 91.36 kB / 1.142 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.036, allocations: 75.47 kB / 1.142 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/1.037, allocations: 0.7829 MB / 1.143 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.037, allocations: 1.188 kB / 1.143 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/1.037, allocations: 30.28 kB / 1.143 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.037, allocations: 16.41 kB / 1.143 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/1.038, allocations: 0.6374 MB / 1.144 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005743/1.044, allocations: 3.745 MB / 1.147 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.046, allocations: 0.7432 MB / 1.148 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/1.047, allocations: 432.5 kB / 1.149 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/1.047, allocations: 12.17 kB / 1.149 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/1.047, allocations: 444.8 kB / 1.149 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=73): time 3.957e-06/1.047, allocations: 0.9062 kB / 1.149 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73): time 0.004504/1.052, allocations: 1.832 MB / 1.151 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/1.052, allocations: 58.94 kB / 1.151 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/1.056, allocations: 3.368 MB / 1.154 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.056, allocations: 45.38 kB / 1.154 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006576/1.057, allocations: 0.9312 MB / 1.155 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/1.057, allocations: 229.6 kB / 1.155 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.057, allocations: 137.8 kB / 1.155 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.057, allocations: 342.2 kB / 1.156 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/1.058, allocations: 318.8 kB / 1.156 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/1.059, allocations: 472.4 kB / 1.157 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.06, allocations: 0.7465 MB / 1.157 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/1.06, allocations: 1 kB / 1.157 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002461/1.062, allocations: 1.249 MB / 1.159 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.062, allocations: 7.5 kB / 1.159 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.062, allocations: 5.906 kB / 1.159 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/1.063, allocations: 264.9 kB / 1.159 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/1.064, allocations: 133.2 kB / 1.159 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/1.068, allocations: 4.763 MB / 1.164 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.07, allocations: 98.09 kB / 1.164 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/1.07, allocations: 32.44 kB / 1.164 GB, free: 8.984 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001256/1.071, allocations: 0.6112 MB / 1.164 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/1.071, allocations: 220 kB / 1.164 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/1.072, allocations: 256.8 kB / 1.165 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.072, allocations: 8.125 kB / 1.165 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/1.072, allocations: 10.41 kB / 1.165 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.072, allocations: 2.906 kB / 1.165 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/1.076, allocations: 2.405 MB / 1.167 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.076, allocations: 3.188 kB / 1.167 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/1.076, allocations: 70.92 kB / 1.167 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006188/1.077, allocations: 249.8 kB / 1.167 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/1.077, allocations: 21.2 kB / 1.167 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/1.082, allocations: 4.756 MB / 1.172 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.082, allocations: 3.984 kB / 1.172 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/1.085, allocations: 1.633 MB / 1.174 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008496/1.086, allocations: 325.2 kB / 1.174 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.086, allocations: 18.38 kB / 1.174 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/1.087, allocations: 40.59 kB / 1.174 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.087, allocations: 77.53 kB / 1.174 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/1.087, allocations: 25.27 kB / 1.174 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003832/1.091, allocations: 2.457 MB / 1.177 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.8e-07/1.091, allocations: 0 / 1.177 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001447/1.093, allocations: 299.2 kB / 1.177 GB, free: 1.742 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001273/1.094, allocations: 496.1 kB / 1.177 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002744/1.097, allocations: 1.194 MB / 1.178 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.097, allocations: 0 / 1.178 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.098, allocations: 0.7074 MB / 1.179 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.1, allocations: 294.4 kB / 1.179 GB, free: 484 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/1.108, allocations: 4.202 MB / 1.184 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.109, allocations: 1.548 MB / 1.185 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/1.11, allocations: 69.7 kB / 1.185 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of SimCode: time 1.222e-06/1.11, allocations: 0 / 1.185 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.05229/1.162, allocations: 32.61 MB / 1.217 GB, free: 3.023 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches