Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.TestCase3,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.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_latest_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.004553/0.004553, allocations: 104.1 kB / 15.74 MB, free: 6.02 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.001066/0.001066, allocations: 193.1 kB / 16.67 MB, free: 5.938 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.584/2.584, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8315, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.19/1.021, allocations: 156.8 MB / 1.379 GB, free: 180 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02403/1.046, allocations: 21.75 MB / 1.4 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/1.048, allocations: 55.69 kB / 1.4 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/1.05, allocations: 1.161 MB / 1.401 GB, free: 9.141 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/1.051, allocations: 0.8601 MB / 1.402 GB, free: 8.277 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/1.052, allocations: 446.3 kB / 1.402 GB, free: 7.844 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001299/1.053, allocations: 1.263 MB / 1.404 GB, free: 6.578 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007341/1.054, allocations: 0.6831 MB / 1.404 GB, free: 5.891 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/1.055, allocations: 0.5491 MB / 1.405 GB, free: 5.34 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/1.056, allocations: 0.9177 MB / 1.406 GB, free: 4.418 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/1.056, allocations: 64 kB / 1.406 GB, free: 4.355 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/1.056, allocations: 108 kB / 1.406 GB, free: 4.25 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/1.057, allocations: 316.7 kB / 1.406 GB, free: 3.941 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003996/1.057, allocations: 488.8 kB / 1.407 GB, free: 3.461 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/1.058, allocations: 1.214 MB / 1.408 GB, free: 2.246 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.058, allocations: 4 kB / 1.408 GB, free: 2.242 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.583e-06/1.058, allocations: 4 kB / 1.408 GB, free: 2.238 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.282e-05/1.058, allocations: 0 / 1.408 GB, free: 2.238 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002076/1.06, allocations: 1.513 MB / 1.409 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.06, allocations: 8.031 kB / 1.409 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/1.061, allocations: 148 kB / 1.409 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/1.061, allocations: 0.6756 MB / 1.41 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.062, allocations: 74.69 kB / 1.41 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/1.062, allocations: 43.98 kB / 1.41 GB, free: 15.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/1.063, allocations: 0.5145 MB / 1.411 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.063, allocations: 11.95 kB / 1.411 GB, free: 15.13 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/1.063, allocations: 20 kB / 1.411 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.063, allocations: 8 kB / 1.411 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/1.063, allocations: 411.7 kB / 1.411 GB, free: 14.7 MB / 1.139 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.003194/1.067, allocations: 2.728 MB / 1.414 GB, free: 11.74 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/1.068, allocations: 444.5 kB / 1.414 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/1.068, allocations: 309.2 kB / 1.415 GB, free: 10.99 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/1.068, allocations: 4.328 kB / 1.415 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/1.069, allocations: 283.7 kB / 1.415 GB, free: 10.7 MB / 1.139 GB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/1.069, allocations: 0 / 1.415 GB, free: 10.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=44): time 0.002628/1.072, allocations: 1.161 MB / 1.416 GB, free: 9.484 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.072, allocations: 59.41 kB / 1.416 GB, free: 9.414 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.073, allocations: 1.768 MB / 1.418 GB, free: 7.637 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/1.073, allocations: 37.7 kB / 1.418 GB, free: 7.594 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/1.074, allocations: 0.5215 MB / 1.418 GB, free: 7.066 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.074, allocations: 150.7 kB / 1.418 GB, free: 6.918 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.074, allocations: 102.2 kB / 1.419 GB, free: 6.812 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.074, allocations: 330 kB / 1.419 GB, free: 6.484 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/1.075, allocations: 213 kB / 1.419 GB, free: 6.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/1.075, allocations: 339.1 kB / 1.419 GB, free: 5.898 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/1.076, allocations: 0.5135 MB / 1.42 GB, free: 5.336 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.076, allocations: 7.938 kB / 1.42 GB, free: 5.328 MB / 1.139 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001485/1.078, allocations: 0.8109 MB / 1.421 GB, free: 4.508 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.078, allocations: 13.19 kB / 1.421 GB, free: 4.496 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.078, allocations: 4 kB / 1.421 GB, free: 4.492 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/1.078, allocations: 136.9 kB / 1.421 GB, free: 4.355 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/1.078, allocations: 103.9 kB / 1.421 GB, free: 4.254 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/1.081, allocations: 2.602 MB / 1.423 GB, free: 1.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/1.082, allocations: 75.58 kB / 1.424 GB, free: 1.445 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/1.082, allocations: 24 kB / 1.424 GB, free: 1.422 MB / 1.139 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.0004804/1.082, allocations: 395.3 kB / 1.424 GB, free: 1.023 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/1.082, allocations: 123.1 kB / 1.424 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/1.083, allocations: 143.7 kB / 1.424 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.083, allocations: 8 kB / 1.424 GB, free: 0.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.083, allocations: 0 / 1.424 GB, free: 0.75 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.083, allocations: 0 / 1.424 GB, free: 0.75 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/1.085, allocations: 1.486 MB / 1.426 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.085, allocations: 4 kB / 1.426 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/1.085, allocations: 47.95 kB / 1.426 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/1.086, allocations: 153.6 kB / 1.426 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/1.086, allocations: 11.98 kB / 1.426 GB, free: 14.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/1.089, allocations: 4.035 MB / 1.43 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.089, allocations: 0 / 1.43 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/1.091, allocations: 0.9938 MB / 1.431 GB, free: 9.66 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/1.091, allocations: 224.2 kB / 1.431 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/1.091, allocations: 12 kB / 1.431 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/1.091, allocations: 23.97 kB / 1.431 GB, free: 9.387 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.091, allocations: 55.92 kB / 1.431 GB, free: 9.332 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/1.092, allocations: 19.94 kB / 1.431 GB, free: 9.312 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001286/1.093, allocations: 1.289 MB / 1.432 GB, free: 8.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.834e-06/1.093, allocations: 4 kB / 1.432 GB, free: 8.016 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000717/1.094, allocations: 199.7 kB / 1.433 GB, free: 7.82 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: 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.001096/1.095, allocations: 487.2 kB / 1.433 GB, free: 7.52 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.096, allocations: 0.6702 MB / 1.434 GB, free: 6.836 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.096, allocations: 4 kB / 1.434 GB, free: 6.832 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007582/1.097, allocations: 0.5171 MB / 1.434 GB, free: 6.289 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/1.098, allocations: 189.4 kB / 1.434 GB, free: 6.113 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/1.101, allocations: 2.394 MB / 1.437 GB, free: 3.684 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/1.102, allocations: 1.153 MB / 1.438 GB, free: 2.5 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002706/1.102, allocations: 100.7 kB / 1.438 GB, free: 2.398 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.102, allocations: 47.38 kB / 1.438 GB, free: 2.352 MB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/1.102, allocations: 0 / 1.438 GB, free: 2.352 MB / 1.154 GB Notification: Performance of Templates: time 0.01784/1.12, allocations: 10.15 MB / 1.448 GB, free: 8.316 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches