Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001684/0.001684, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8274, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1826/1.01, allocations: 157 MB / 1.362 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02733/1.037, allocations: 21.87 MB / 1.383 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/1.04, allocations: 55.69 kB / 1.383 GB, free: 9.984 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/1.043, allocations: 1.344 MB / 1.384 GB, free: 8.637 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002526/1.045, allocations: 0.9808 MB / 1.385 GB, free: 7.652 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/1.047, allocations: 0.5075 MB / 1.386 GB, free: 7.148 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002374/1.049, allocations: 1.426 MB / 1.387 GB, free: 5.719 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/1.051, allocations: 0.7922 MB / 1.388 GB, free: 4.922 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/1.052, allocations: 0.6464 MB / 1.389 GB, free: 4.273 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/1.054, allocations: 1.102 MB / 1.39 GB, free: 3.168 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002473/1.054, allocations: 72 kB / 1.39 GB, free: 3.098 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/1.055, allocations: 128 kB / 1.39 GB, free: 2.973 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/1.055, allocations: 368.5 kB / 1.39 GB, free: 2.613 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007517/1.056, allocations: 0.5627 MB / 1.391 GB, free: 2.047 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/1.058, allocations: 1.356 MB / 1.392 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.058, allocations: 0 / 1.392 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/1.058, allocations: 0 / 1.392 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.398e-05/1.058, allocations: 0 / 1.392 GB, free: 0.6875 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003131/1.061, allocations: 1.686 MB / 1.394 GB, free: 14.94 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/1.061, allocations: 8.031 kB / 1.394 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/1.061, allocations: 167 kB / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.063, allocations: 0.7632 MB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.063, allocations: 74.69 kB / 1.395 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.063, allocations: 52 kB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.064, allocations: 0.5653 MB / 1.395 GB, free: 13.25 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.064, allocations: 3.984 kB / 1.395 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/1.064, allocations: 28 kB / 1.395 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.064, allocations: 8 kB / 1.395 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.065, allocations: 447.7 kB / 1.396 GB, free: 12.77 MB / 1.123 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.004392/1.07, allocations: 3.002 MB / 1.399 GB, free: 9.488 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.071, allocations: 499.3 kB / 1.399 GB, free: 8.992 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/1.071, allocations: 322.6 kB / 1.4 GB, free: 8.676 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/1.071, allocations: 16.3 kB / 1.4 GB, free: 8.66 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006919/1.072, allocations: 321.8 kB / 1.4 GB, free: 8.336 MB / 1.123 GB Notification: Performance of pre-optimization done (n=52): time 4.548e-06/1.072, allocations: 3.984 kB / 1.4 GB, free: 8.332 MB / 1.123 GB Notification: Performance of matching and sorting (n=52): time 0.003296/1.075, allocations: 1.352 MB / 1.401 GB, free: 6.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/1.076, allocations: 63.84 kB / 1.401 GB, free: 6.855 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/1.078, allocations: 2.116 MB / 1.403 GB, free: 4.727 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/1.078, allocations: 45.64 kB / 1.403 GB, free: 4.676 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/1.079, allocations: 0.6245 MB / 1.404 GB, free: 4.043 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/1.079, allocations: 161.7 kB / 1.404 GB, free: 3.883 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/1.079, allocations: 110.2 kB / 1.404 GB, free: 3.77 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.079, allocations: 334 kB / 1.405 GB, free: 3.438 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/1.08, allocations: 233.2 kB / 1.405 GB, free: 3.211 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/1.08, allocations: 341.9 kB / 1.405 GB, free: 2.836 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.082, allocations: 0.5528 MB / 1.406 GB, free: 2.246 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.082, allocations: 0 / 1.406 GB, free: 2.246 MB / 1.123 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001997/1.084, allocations: 0.9124 MB / 1.407 GB, free: 1.324 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.084, allocations: 4 kB / 1.407 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.084, allocations: 8.125 kB / 1.407 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/1.084, allocations: 192.7 kB / 1.407 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/1.085, allocations: 111.8 kB / 1.407 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/1.088, allocations: 3.039 MB / 1.41 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/1.089, allocations: 83.45 kB / 1.41 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/1.089, allocations: 20 kB / 1.41 GB, free: 13.73 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007318/1.09, allocations: 436.1 kB / 1.41 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.09, allocations: 134.2 kB / 1.411 GB, free: 13.17 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/1.09, allocations: 170 kB / 1.411 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.09, allocations: 15.92 kB / 1.411 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.09, allocations: 4 kB / 1.411 GB, free: 12.97 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.09, allocations: 0 / 1.411 GB, free: 12.97 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/1.093, allocations: 1.731 MB / 1.412 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.093, allocations: 7.922 kB / 1.412 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.094, allocations: 51.91 kB / 1.412 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004902/1.094, allocations: 196.4 kB / 1.413 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/1.094, allocations: 15.98 kB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/1.099, allocations: 4.606 MB / 1.417 GB, free: 6.031 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.099, allocations: 0 / 1.417 GB, free: 6.031 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.101, allocations: 1.163 MB / 1.418 GB, free: 4.844 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/1.101, allocations: 235.5 kB / 1.419 GB, free: 4.594 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.101, allocations: 12 kB / 1.419 GB, free: 4.582 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.102, allocations: 43.84 kB / 1.419 GB, free: 4.539 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.102, allocations: 64.33 kB / 1.419 GB, free: 4.477 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/1.102, allocations: 16 kB / 1.419 GB, free: 4.461 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001644/1.104, allocations: 1.549 MB / 1.42 GB, free: 2.914 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.104, allocations: 0 / 1.42 GB, free: 2.914 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008487/1.104, allocations: 223.6 kB / 1.42 GB, free: 2.695 MB / 1.139 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001104/1.106, allocations: 487.4 kB / 1.421 GB, free: 2.402 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.107, allocations: 0.7664 MB / 1.422 GB, free: 1.625 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.107, allocations: 0 / 1.422 GB, free: 1.625 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009352/1.108, allocations: 0.5705 MB / 1.422 GB, free: 1.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.109, allocations: 243.2 kB / 1.422 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/1.114, allocations: 2.844 MB / 1.425 GB, free: 13.91 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/1.114, allocations: 1.232 MB / 1.426 GB, free: 12.65 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.115, allocations: 51.42 kB / 1.426 GB, free: 12.6 MB / 1.154 GB Notification: Performance of SimCode: time 5.51e-07/1.115, allocations: 0 / 1.426 GB, free: 12.6 MB / 1.154 GB Notification: Performance of Templates: time 0.02816/1.143, allocations: 20.46 MB / 1.446 GB, free: 8.172 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches