Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase6,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.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_9_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.004561/0.004561, allocations: 102.2 kB / 15.73 MB, free: 6.488 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.001123/0.001123, allocations: 199.6 kB / 16.68 MB, free: 6.375 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.288/2.288, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 62.53 kB / 0.9508 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2515, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1503/0.4019, allocations: 157 MB / 1.241 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5591/0.9611, allocations: 21.86 MB / 1.263 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.9625, allocations: 55.06 kB / 1.263 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.9644, allocations: 1.345 MB / 1.264 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.9658, allocations: 0.9877 MB / 1.265 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.967, allocations: 0.5093 MB / 1.265 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.9683, allocations: 1.432 MB / 1.267 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.9692, allocations: 0.7789 MB / 1.268 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007986/0.97, allocations: 0.652 MB / 1.268 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.9713, allocations: 1.107 MB / 1.269 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.9714, allocations: 72.06 kB / 1.269 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.9717, allocations: 121.2 kB / 1.27 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.972, allocations: 368.5 kB / 1.27 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.9725, allocations: 0.5605 MB / 1.27 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.9739, allocations: 1.361 MB / 1.272 GB, free: 3.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9739, allocations: 1.25 kB / 1.272 GB, free: 3.285 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9739, allocations: 0 / 1.272 GB, free: 3.285 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.974, allocations: 1.219 kB / 1.272 GB, free: 3.285 MB / 1.014 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.00234/0.9763, allocations: 1.688 MB / 1.273 GB, free: 2.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.9763, allocations: 9.406 kB / 1.273 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.9766, allocations: 164.9 kB / 1.274 GB, free: 2.227 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009227/0.9776, allocations: 0.7506 MB / 1.274 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.9777, allocations: 79.69 kB / 1.274 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.9778, allocations: 52.86 kB / 1.274 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.9788, allocations: 0.5702 MB / 1.275 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.9788, allocations: 0.875 kB / 1.275 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.9788, allocations: 22.22 kB / 1.275 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.9789, allocations: 14.05 kB / 1.275 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.9797, allocations: 443.9 kB / 1.275 GB, free: 1.715 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.003257/0.9829, allocations: 3.001 MB / 1.278 GB, free: 16.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/0.9839, allocations: 0.4935 MB / 1.279 GB, free: 16.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.9846, allocations: 317.2 kB / 1.279 GB, free: 16.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.9846, allocations: 6.531 kB / 1.279 GB, free: 16.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.9853, allocations: 326.6 kB / 1.279 GB, free: 16.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.175e-06/0.9853, allocations: 1.203 kB / 1.279 GB, free: 16.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=52): time 0.003083/0.9884, allocations: 1.353 MB / 1.281 GB, free: 15.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.9885, allocations: 62.02 kB / 1.281 GB, free: 15.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.9907, allocations: 2.109 MB / 1.283 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.9908, allocations: 42.22 kB / 1.283 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.9912, allocations: 0.6272 MB / 1.284 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.9913, allocations: 166.5 kB / 1.284 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.9915, allocations: 106.5 kB / 1.284 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9916, allocations: 332.2 kB / 1.284 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.992, allocations: 237.1 kB / 1.284 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.9926, allocations: 347.9 kB / 1.285 GB, free: 14.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.9934, allocations: 0.5455 MB / 1.285 GB, free: 14.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9934, allocations: 1.469 kB / 1.285 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001586/0.995, allocations: 0.919 MB / 1.286 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.995, allocations: 8.594 kB / 1.286 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9951, allocations: 2.469 kB / 1.286 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.9956, allocations: 194.2 kB / 1.286 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.9959, allocations: 110.8 kB / 1.286 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/0.9991, allocations: 3.045 MB / 1.289 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.9996, allocations: 81.7 kB / 1.289 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.9996, allocations: 19.98 kB / 1.289 GB, free: 12.96 MB / 1.029 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.0005809/1, allocations: 442.8 kB / 1.29 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/1, allocations: 135.4 kB / 1.29 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/1.001, allocations: 164.8 kB / 1.29 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.001, allocations: 6.469 kB / 1.29 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/1.001, allocations: 8 kB / 1.29 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.001, allocations: 2.859 kB / 1.29 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/1.003, allocations: 1.738 MB / 1.292 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.003, allocations: 0 / 1.292 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/1.003, allocations: 54.7 kB / 1.292 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/1.004, allocations: 196.2 kB / 1.292 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.004, allocations: 14.7 kB / 1.292 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/1.008, allocations: 4.612 MB / 1.297 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.008, allocations: 0 / 1.297 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.009, allocations: 1.159 MB / 1.298 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/1.01, allocations: 241.8 kB / 1.298 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/1.01, allocations: 13.95 kB / 1.298 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/1.01, allocations: 32.17 kB / 1.298 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.01, allocations: 61.58 kB / 1.298 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/1.01, allocations: 19.27 kB / 1.298 GB, free: 8.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00153/1.012, allocations: 1.548 MB / 1.3 GB, free: 8.809 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 0 / 1.3 GB, free: 8.809 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007731/1.013, allocations: 226.2 kB / 1.3 GB, free: 8.785 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: 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.0009925/1.014, allocations: 492 kB / 1.3 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.015, allocations: 0.7502 MB / 1.301 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.015, allocations: 4.844 kB / 1.301 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/1.016, allocations: 0.588 MB / 1.302 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/1.017, allocations: 235.6 kB / 1.302 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/1.02, allocations: 2.778 MB / 1.305 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/1.021, allocations: 1.245 MB / 1.306 GB, free: 6.613 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002753/1.022, allocations: 100.5 kB / 1.306 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.022, allocations: 52.92 kB / 1.306 GB, free: 6.594 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.022, allocations: 0.6875 kB / 1.306 GB, free: 6.594 MB / 1.029 GB Notification: Performance of Templates: time 0.01707/1.039, allocations: 11.59 MB / 1.317 GB, free: 5.785 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches