Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.84 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.009083/0.009083, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 462.7 MB / 0.7364 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003596, allocations: 16.22 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1713/0.48, allocations: 152.9 MB / 1.208 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.5057, allocations: 21.62 MB / 1.229 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.5079, allocations: 51.62 kB / 1.229 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.5104, allocations: 2.117 MB / 1.231 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.5129, allocations: 1.359 MB / 1.233 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5144, allocations: 0.514 MB / 1.233 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.517, allocations: 1.902 MB / 1.235 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.5185, allocations: 0.9548 MB / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5195, allocations: 0.7514 MB / 1.237 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.5211, allocations: 1.479 MB / 1.238 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5212, allocations: 36 kB / 1.238 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.5215, allocations: 83.98 kB / 1.238 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.5219, allocations: 0.4923 MB / 1.239 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.5226, allocations: 0.7228 MB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.5241, allocations: 1.735 MB / 1.241 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5241, allocations: 4 kB / 1.241 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5241, allocations: 0 / 1.241 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.5241, allocations: 4 kB / 1.241 GB, free: 10.04 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002978/0.5271, allocations: 2.01 MB / 1.243 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5272, allocations: 12.03 kB / 1.243 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.5274, allocations: 226.1 kB / 1.243 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.5287, allocations: 0.9992 MB / 1.244 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.5288, allocations: 91 kB / 1.244 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5289, allocations: 67.89 kB / 1.244 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5303, allocations: 0.7407 MB / 1.245 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5303, allocations: 0 / 1.245 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.5304, allocations: 31.94 kB / 1.245 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5304, allocations: 16 kB / 1.245 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5316, allocations: 0.6102 MB / 1.246 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.5365, allocations: 3.58 MB / 1.249 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5381, allocations: 0.7295 MB / 1.25 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/0.5388, allocations: 428.5 kB / 1.25 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.5389, allocations: 8.562 kB / 1.25 GB, free: 84 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5549/1.094, allocations: 436.9 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 4.469e-06/1.094, allocations: 0.8125 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.004854/1.099, allocations: 1.839 MB / 1.253 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.099, allocations: 66.3 kB / 1.253 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/1.103, allocations: 3.303 MB / 1.256 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.772e-05/1.103, allocations: 44.61 kB / 1.256 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/1.103, allocations: 0.8886 MB / 1.257 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/1.104, allocations: 227.7 kB / 1.257 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/1.104, allocations: 68.45 kB / 1.257 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/1.104, allocations: 335.3 kB / 1.257 GB, free: 192 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/1.104, allocations: 326.9 kB / 1.258 GB, free: 192 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/1.105, allocations: 457.7 kB / 1.258 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.106, allocations: 0.748 MB / 1.259 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.106, allocations: 3 kB / 1.259 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002491/1.109, allocations: 1.249 MB / 1.26 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.109, allocations: 8.531 kB / 1.26 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.109, allocations: 3.688 kB / 1.26 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007887/1.11, allocations: 262.1 kB / 1.26 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/1.11, allocations: 140.1 kB / 1.26 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/1.114, allocations: 4.377 MB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007483/1.115, allocations: 112.7 kB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/1.115, allocations: 25.66 kB / 1.265 GB, free: 188.8 MB / 0.9981 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009983/1.116, allocations: 0.6077 MB / 1.265 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.117, allocations: 204.3 kB / 1.266 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/1.117, allocations: 250.5 kB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.117, allocations: 7.5 kB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.477e-05/1.117, allocations: 7.594 kB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.117, allocations: 4.125 kB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/1.122, allocations: 2.362 MB / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.122, allocations: 0 / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/1.122, allocations: 71.2 kB / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006681/1.123, allocations: 255.4 kB / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/1.123, allocations: 17.11 kB / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00435/1.127, allocations: 4.368 MB / 1.273 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.127, allocations: 4.594 kB / 1.273 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/1.131, allocations: 1.601 MB / 1.274 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/1.132, allocations: 326.7 kB / 1.275 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/1.132, allocations: 19.75 kB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/1.132, allocations: 60.89 kB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.132, allocations: 75.03 kB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/1.133, allocations: 24.67 kB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003695/1.136, allocations: 2.429 MB / 1.277 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.136, allocations: 0 / 1.277 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001309/1.138, allocations: 289.4 kB / 1.277 GB, free: 183.9 MB / 0.9981 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.001207/1.139, allocations: 0.4901 MB / 1.278 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.141, allocations: 1.088 MB / 1.279 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.141, allocations: 1.562 kB / 1.279 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.143, allocations: 0.7029 MB / 1.28 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.144, allocations: 261.6 kB / 1.28 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007809/1.152, allocations: 4.629 MB / 1.284 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/1.154, allocations: 1.526 MB / 1.286 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006426/1.155, allocations: 149.2 kB / 1.286 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/1.155, allocations: 65.02 kB / 1.286 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.155, allocations: 0 / 1.286 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02711/1.182, allocations: 13.25 MB / 1.299 GB, free: 172.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches