Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.000992, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001209/0.001209, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.599/1.599, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.977/2.977, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 10.88 kB / 0.9123 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.332, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1884/0.5205, allocations: 152.4 MB / 1.219 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02996/0.5505, allocations: 21.38 MB / 1.24 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.5527, allocations: 47.69 kB / 1.24 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.5548, allocations: 1.122 MB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.5567, allocations: 0.8137 MB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.5582, allocations: 382.9 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002228/0.5604, allocations: 1.345 MB / 1.243 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.5616, allocations: 0.5927 MB / 1.244 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.5627, allocations: 486.1 kB / 1.244 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.5641, allocations: 0.8864 MB / 1.245 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.5643, allocations: 32 kB / 1.245 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.5646, allocations: 71.98 kB / 1.245 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.565, allocations: 296.7 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.5656, allocations: 462.6 kB / 1.246 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.567, allocations: 1.128 MB / 1.247 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.567, allocations: 0 / 1.247 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.567, allocations: 4 kB / 1.247 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.003e-05/0.5671, allocations: 0 / 1.247 GB, free: 5.371 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.002503/0.5696, allocations: 1.316 MB / 1.248 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5696, allocations: 8.031 kB / 1.248 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.5699, allocations: 143.2 kB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.571, allocations: 0.655 MB / 1.249 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.5711, allocations: 78.69 kB / 1.249 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5712, allocations: 48 kB / 1.249 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5724, allocations: 0.5301 MB / 1.25 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5725, allocations: 0 / 1.25 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.5725, allocations: 19.98 kB / 1.25 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.5726, allocations: 12 kB / 1.25 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5736, allocations: 435.7 kB / 1.25 GB, free: 2.02 MB / 0.9981 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.6068/1.18, allocations: 2.774 MB / 1.253 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.182, allocations: 463.1 kB / 1.253 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007824/1.182, allocations: 312.8 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/1.182, allocations: 5.766 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/1.183, allocations: 303.9 kB / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 3.546e-06/1.183, allocations: 0 / 1.254 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.003005/1.186, allocations: 1.183 MB / 1.255 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.186, allocations: 63.64 kB / 1.255 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.188, allocations: 1.766 MB / 1.257 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/1.188, allocations: 36.08 kB / 1.257 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/1.189, allocations: 0.5275 MB / 1.257 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.189, allocations: 145.6 kB / 1.258 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/1.189, allocations: 53.52 kB / 1.258 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/1.189, allocations: 329.7 kB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/1.19, allocations: 234.1 kB / 1.258 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/1.19, allocations: 358.4 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/1.191, allocations: 0.5355 MB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.191, allocations: 2.969 kB / 1.259 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001495/1.192, allocations: 0.8473 MB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.192, allocations: 5.312 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.192, allocations: 5.938 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/1.193, allocations: 141.9 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/1.193, allocations: 106.9 kB / 1.26 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/1.195, allocations: 2.389 MB / 1.262 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/1.196, allocations: 97.55 kB / 1.263 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/1.196, allocations: 22.81 kB / 1.263 GB, free: 183.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004315/1.196, allocations: 384.8 kB / 1.263 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.197, allocations: 118.5 kB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.197, allocations: 143.4 kB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.197, allocations: 3.531 kB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.197, allocations: 6.266 kB / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.197, allocations: 0 / 1.263 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/1.199, allocations: 1.518 MB / 1.265 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.199, allocations: 0 / 1.265 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/1.2, allocations: 51.91 kB / 1.265 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/1.2, allocations: 161.6 kB / 1.265 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.2, allocations: 13.89 kB / 1.265 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/1.203, allocations: 3.709 MB / 1.268 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.203, allocations: 0.6562 kB / 1.268 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/1.205, allocations: 1.011 MB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/1.205, allocations: 222.8 kB / 1.27 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/1.205, allocations: 8.312 kB / 1.27 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/1.205, allocations: 53.05 kB / 1.27 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.205, allocations: 47.62 kB / 1.27 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/1.205, allocations: 18.19 kB / 1.27 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001595/1.207, allocations: 1.29 MB / 1.271 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.207, allocations: 0.6875 kB / 1.271 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009365/1.208, allocations: 203 kB / 1.271 GB, free: 178.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: 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,12,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.001836/1.21, allocations: 485.1 kB / 1.272 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.211, allocations: 0.6846 MB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.211, allocations: 1.375 kB / 1.272 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/1.212, allocations: 0.5483 MB / 1.273 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.213, allocations: 193.3 kB / 1.273 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/1.218, allocations: 2.769 MB / 1.276 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.219, allocations: 1.148 MB / 1.277 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004289/1.219, allocations: 93.94 kB / 1.277 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.22, allocations: 46.73 kB / 1.277 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.22, allocations: 0 / 1.277 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02384/1.243, allocations: 9.209 MB / 1.286 GB, free: 174.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches