Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase10,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.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_latest_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.001593/0.001593, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001491/0.001491, allocations: 187 kB / 17.34 MB, free: 5.766 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.66/2.66, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8924, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1763/1.069, allocations: 157.6 MB / 1.362 GB, free: 15.46 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02974/1.098, allocations: 22.07 MB / 1.384 GB, free: 9.32 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/1.101, allocations: 59.69 kB / 1.384 GB, free: 9.262 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/1.104, allocations: 2.174 MB / 1.386 GB, free: 7.082 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002608/1.107, allocations: 1.452 MB / 1.387 GB, free: 5.625 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/1.108, allocations: 0.6228 MB / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002793/1.111, allocations: 1.949 MB / 1.39 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/1.113, allocations: 1.123 MB / 1.391 GB, free: 1.906 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/1.115, allocations: 0.9192 MB / 1.392 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/1.117, allocations: 1.6 MB / 1.394 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/1.118, allocations: 96 kB / 1.394 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/1.118, allocations: 144 kB / 1.394 GB, free: 15.15 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005917/1.119, allocations: 0.551 MB / 1.394 GB, free: 14.6 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/1.12, allocations: 0.8068 MB / 1.395 GB, free: 13.79 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/1.122, allocations: 1.94 MB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.122, allocations: 3.938 kB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.563e-06/1.122, allocations: 7.938 kB / 1.397 GB, free: 11.83 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.457e-05/1.122, allocations: 0 / 1.397 GB, free: 11.83 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00432/1.127, allocations: 2.361 MB / 1.399 GB, free: 9.406 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.127, allocations: 12.03 kB / 1.399 GB, free: 9.395 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/1.127, allocations: 240.9 kB / 1.4 GB, free: 9.156 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.129, allocations: 1.039 MB / 1.401 GB, free: 8.051 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/1.129, allocations: 99.67 kB / 1.401 GB, free: 7.945 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.129, allocations: 68 kB / 1.401 GB, free: 7.879 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.131, allocations: 0.7971 MB / 1.401 GB, free: 7.07 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.131, allocations: 3.906 kB / 1.401 GB, free: 7.066 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/1.131, allocations: 31.94 kB / 1.402 GB, free: 7.035 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/1.131, allocations: 20 kB / 1.402 GB, free: 7.016 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.132, allocations: 0.6336 MB / 1.402 GB, free: 6.383 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/1.138, allocations: 3.737 MB / 1.406 GB, free: 2.379 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.139, allocations: 0.7475 MB / 1.407 GB, free: 1.625 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/1.14, allocations: 431.9 kB / 1.407 GB, free: 1.203 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/1.14, allocations: 12.55 kB / 1.407 GB, free: 1.191 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008603/1.141, allocations: 452 kB / 1.407 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of pre-optimization done (n=73): time 5.12e-06/1.141, allocations: 4 kB / 1.407 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of matching and sorting (n=73): time 0.00439/1.145, allocations: 1.822 MB / 1.409 GB, free: 14.86 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.146, allocations: 72 kB / 1.409 GB, free: 14.77 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/1.15, allocations: 3.376 MB / 1.413 GB, free: 11.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.15, allocations: 45.7 kB / 1.413 GB, free: 11.32 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/1.151, allocations: 0.937 MB / 1.413 GB, free: 10.38 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.151, allocations: 228.8 kB / 1.414 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/1.151, allocations: 138.7 kB / 1.414 GB, free: 10.01 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.151, allocations: 337.9 kB / 1.414 GB, free: 9.676 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/1.152, allocations: 317.8 kB / 1.414 GB, free: 9.367 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/1.153, allocations: 472 kB / 1.415 GB, free: 8.859 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/1.154, allocations: 0.7481 MB / 1.416 GB, free: 8.074 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.154, allocations: 0 / 1.416 GB, free: 8.074 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002536/1.157, allocations: 1.251 MB / 1.417 GB, free: 6.805 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.157, allocations: 5.875 kB / 1.417 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.157, allocations: 4 kB / 1.417 GB, free: 6.797 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/1.157, allocations: 264.2 kB / 1.417 GB, free: 6.535 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/1.158, allocations: 139.7 kB / 1.417 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/1.164, allocations: 4.754 MB / 1.422 GB, free: 1.367 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/1.164, allocations: 95.23 kB / 1.422 GB, free: 1.273 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/1.164, allocations: 24 kB / 1.422 GB, free: 1.25 MB / 1.139 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.0009352/1.165, allocations: 0.6147 MB / 1.423 GB, free: 0.625 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/1.166, allocations: 217.2 kB / 1.423 GB, free: 420 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/1.166, allocations: 269.1 kB / 1.423 GB, free: 144 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.166, allocations: 8 kB / 1.423 GB, free: 136 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/1.166, allocations: 7.938 kB / 1.423 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.166, allocations: 3.984 kB / 1.423 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/1.171, allocations: 2.405 MB / 1.425 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.171, allocations: 12.03 kB / 1.425 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/1.171, allocations: 71.89 kB / 1.426 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/1.172, allocations: 247.8 kB / 1.426 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/1.172, allocations: 27.98 kB / 1.426 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005033/1.177, allocations: 4.736 MB / 1.43 GB, free: 8.289 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.177, allocations: 144 / 1.43 GB, free: 8.289 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/1.18, allocations: 1.646 MB / 1.432 GB, free: 6.617 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/1.18, allocations: 318.3 kB / 1.432 GB, free: 6.285 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/1.181, allocations: 16 kB / 1.432 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/1.181, allocations: 43.95 kB / 1.432 GB, free: 6.227 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.181, allocations: 72.55 kB / 1.432 GB, free: 6.156 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/1.181, allocations: 23.98 kB / 1.432 GB, free: 6.133 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003045/1.184, allocations: 2.468 MB / 1.435 GB, free: 3.652 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.41e-07/1.184, allocations: 0 / 1.435 GB, free: 3.652 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001098/1.186, allocations: 307.4 kB / 1.435 GB, free: 3.352 MB / 1.154 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.001265/1.187, allocations: 494.7 kB / 1.436 GB, free: 3.043 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002291/1.189, allocations: 1.09 MB / 1.437 GB, free: 1.926 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.189, allocations: 7.75 kB / 1.437 GB, free: 1.918 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/1.19, allocations: 0.7065 MB / 1.437 GB, free: 1.18 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.192, allocations: 293 kB / 1.438 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/1.199, allocations: 4.17 MB / 1.442 GB, free: 12.7 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.2, allocations: 1.548 MB / 1.443 GB, free: 11.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/1.201, allocations: 75.41 kB / 1.443 GB, free: 11.05 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/1.201, allocations: 0 / 1.443 GB, free: 11.05 MB / 1.17 GB Notification: Performance of Templates: time 0.04747/1.248, allocations: 32.88 MB / 1.475 GB, free: 10.2 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches