Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.002064/0.002064, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.07 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.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.08 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9147, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2122/1.127, allocations: 156.7 MB / 1.242 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02882/1.156, allocations: 21.74 MB / 1.263 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/1.158, allocations: 55.69 kB / 1.263 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/1.16, allocations: 1.161 MB / 1.264 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/1.162, allocations: 0.8523 MB / 1.265 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/1.164, allocations: 450.3 kB / 1.265 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001874/1.166, allocations: 1.27 MB / 1.267 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/1.167, allocations: 0.687 MB / 1.267 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/1.168, allocations: 0.5491 MB / 1.268 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/1.169, allocations: 0.9214 MB / 1.269 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/1.169, allocations: 64 kB / 1.269 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/1.17, allocations: 112 kB / 1.269 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003376/1.17, allocations: 316.7 kB / 1.269 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/1.171, allocations: 492.8 kB / 1.27 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/1.172, allocations: 1.193 MB / 1.271 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.172, allocations: 8 kB / 1.271 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.172, allocations: 0 / 1.271 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.71e-05/1.172, allocations: 0 / 1.271 GB, free: 3.07 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002813/1.175, allocations: 1.478 MB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.175, allocations: 8.031 kB / 1.272 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/1.176, allocations: 131.3 kB / 1.272 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/1.177, allocations: 0.6705 MB / 1.273 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.177, allocations: 70.69 kB / 1.273 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/1.177, allocations: 44 kB / 1.273 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.178, allocations: 0.5184 MB / 1.274 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.178, allocations: 4 kB / 1.274 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/1.178, allocations: 19.94 kB / 1.274 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/1.178, allocations: 8.047 kB / 1.274 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/1.179, allocations: 415.7 kB / 1.274 GB, free: 15.59 MB / 1.014 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.003872/1.183, allocations: 2.796 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.184, allocations: 461 kB / 1.277 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/1.184, allocations: 289.3 kB / 1.278 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/1.184, allocations: 4.328 kB / 1.278 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/1.185, allocations: 302.7 kB / 1.278 GB, free: 11.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.865e-06/1.185, allocations: 448 / 1.278 GB, free: 11.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002946/1.188, allocations: 1.241 MB / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.188, allocations: 59.41 kB / 1.279 GB, free: 10.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/1.19, allocations: 1.744 MB / 1.281 GB, free: 8.375 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/1.19, allocations: 41.64 kB / 1.281 GB, free: 8.328 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/1.191, allocations: 0.5257 MB / 1.281 GB, free: 7.801 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.191, allocations: 145.9 kB / 1.281 GB, free: 7.656 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.191, allocations: 98.25 kB / 1.282 GB, free: 7.555 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.191, allocations: 329.9 kB / 1.282 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/1.191, allocations: 217 kB / 1.282 GB, free: 7.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/1.192, allocations: 324.9 kB / 1.282 GB, free: 6.656 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/1.193, allocations: 0.5059 MB / 1.283 GB, free: 6.113 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.193, allocations: 3.938 kB / 1.283 GB, free: 6.109 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001685/1.195, allocations: 0.8489 MB / 1.284 GB, free: 5.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.195, allocations: 4 kB / 1.284 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.195, allocations: 4 kB / 1.284 GB, free: 5.242 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/1.195, allocations: 192.7 kB / 1.284 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.196, allocations: 91.88 kB / 1.284 GB, free: 4.961 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/1.199, allocations: 2.997 MB / 1.287 GB, free: 1.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/1.2, allocations: 71.48 kB / 1.287 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/1.2, allocations: 20 kB / 1.287 GB, free: 1.734 MB / 1.014 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (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.000572/1.2, allocations: 383.4 kB / 1.287 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/1.2, allocations: 118.4 kB / 1.288 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.201, allocations: 143.7 kB / 1.288 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.201, allocations: 11.98 kB / 1.288 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.201, allocations: 0 / 1.288 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.201, allocations: 0 / 1.288 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.203, allocations: 1.572 MB / 1.289 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.203, allocations: 4 kB / 1.289 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/1.204, allocations: 43.91 kB / 1.289 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/1.204, allocations: 185.6 kB / 1.289 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/1.204, allocations: 15.98 kB / 1.289 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/1.209, allocations: 4.547 MB / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.209, allocations: 0 / 1.294 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/1.211, allocations: 1.07 MB / 1.295 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/1.211, allocations: 211.6 kB / 1.295 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.211, allocations: 8 kB / 1.295 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/1.211, allocations: 35.91 kB / 1.295 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.212, allocations: 51.92 kB / 1.295 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/1.212, allocations: 19.98 kB / 1.295 GB, free: 8.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001486/1.213, allocations: 1.281 MB / 1.296 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.213, allocations: 3.938 kB / 1.296 GB, free: 7.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008571/1.214, allocations: 199.6 kB / 1.297 GB, free: 7.465 MB / 1.029 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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.001129/1.215, allocations: 482.1 kB / 1.297 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.217, allocations: 0.7149 MB / 1.298 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.217, allocations: 4 kB / 1.298 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000904/1.218, allocations: 0.5639 MB / 1.298 GB, free: 5.848 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/1.219, allocations: 202.2 kB / 1.299 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/1.223, allocations: 2.415 MB / 1.301 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/1.223, allocations: 1.149 MB / 1.302 GB, free: 2.027 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.224, allocations: 51.36 kB / 1.302 GB, free: 1.98 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/1.224, allocations: 0 / 1.302 GB, free: 1.98 MB / 1.029 GB Notification: Performance of Templates: time 0.02493/1.249, allocations: 17.88 MB / 1.32 GB, free: 128 kB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches