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.005112/0.005112, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001208/0.001208, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.122/2.122, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 66.48 kB / 0.9508 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2598, allocations: 140.4 MB / 1.088 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1545/0.4143, allocations: 157 MB / 1.241 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6171/1.031, allocations: 21.86 MB / 1.263 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/1.033, allocations: 58.06 kB / 1.263 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/1.035, allocations: 1.34 MB / 1.264 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/1.037, allocations: 0.9755 MB / 1.265 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/1.038, allocations: 0.5052 MB / 1.265 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001725/1.04, allocations: 1.431 MB / 1.267 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009403/1.041, allocations: 0.7819 MB / 1.268 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009573/1.042, allocations: 0.6518 MB / 1.268 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/1.043, allocations: 1.1 MB / 1.269 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/1.043, allocations: 72.36 kB / 1.269 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/1.043, allocations: 124.8 kB / 1.269 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/1.044, allocations: 370.2 kB / 1.27 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/1.044, allocations: 0.5564 MB / 1.27 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/1.046, allocations: 1.365 MB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.046, allocations: 2.578 kB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/1.046, allocations: 3 kB / 1.272 GB, free: 3.242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.046, allocations: 0.5 kB / 1.272 GB, free: 3.242 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.002676/1.049, allocations: 1.685 MB / 1.273 GB, free: 2.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.049, allocations: 9.25 kB / 1.273 GB, free: 2.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/1.049, allocations: 160.2 kB / 1.274 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/1.05, allocations: 0.7541 MB / 1.274 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.05, allocations: 74.55 kB / 1.274 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/1.05, allocations: 59.05 kB / 1.274 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009893/1.051, allocations: 0.5694 MB / 1.275 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.051, allocations: 2.656 kB / 1.275 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/1.051, allocations: 20.33 kB / 1.275 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.051, allocations: 11.72 kB / 1.275 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/1.052, allocations: 448.6 kB / 1.275 GB, free: 1.676 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.003663/1.056, allocations: 3 MB / 1.278 GB, free: 16.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/1.057, allocations: 0.4905 MB / 1.279 GB, free: 16.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/1.058, allocations: 316.7 kB / 1.279 GB, free: 16.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/1.058, allocations: 4.875 kB / 1.279 GB, free: 16.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/1.058, allocations: 329.2 kB / 1.279 GB, free: 16.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/1.058, allocations: 0 / 1.279 GB, free: 16.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=52): time 0.003114/1.061, allocations: 1.354 MB / 1.281 GB, free: 15.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.061, allocations: 58.02 kB / 1.281 GB, free: 15.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.064, allocations: 2.11 MB / 1.283 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/1.064, allocations: 40.16 kB / 1.283 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/1.064, allocations: 0.6285 MB / 1.284 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/1.064, allocations: 164.4 kB / 1.284 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.064, allocations: 107.8 kB / 1.284 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.065, allocations: 335.2 kB / 1.284 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/1.065, allocations: 230.5 kB / 1.284 GB, free: 14.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.066, allocations: 350.8 kB / 1.285 GB, free: 14.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/1.067, allocations: 0.5499 MB / 1.285 GB, free: 14.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.067, allocations: 1.312 kB / 1.285 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001662/1.068, allocations: 0.9138 MB / 1.286 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.068, allocations: 11.06 kB / 1.286 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.068, allocations: 7.047 kB / 1.286 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/1.069, allocations: 194.5 kB / 1.286 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/1.069, allocations: 105.9 kB / 1.286 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/1.072, allocations: 3.047 MB / 1.289 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/1.073, allocations: 81.91 kB / 1.289 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/1.073, allocations: 22.3 kB / 1.289 GB, free: 12.92 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.0006616/1.074, allocations: 440.7 kB / 1.29 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.074, allocations: 135.2 kB / 1.29 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/1.074, allocations: 169.9 kB / 1.29 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.074, allocations: 5.406 kB / 1.29 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.074, allocations: 7.812 kB / 1.29 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.074, allocations: 4.156 kB / 1.29 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/1.077, allocations: 1.734 MB / 1.292 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.077, allocations: 1.469 kB / 1.292 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/1.077, allocations: 53.5 kB / 1.292 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/1.078, allocations: 198.2 kB / 1.292 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/1.078, allocations: 13.84 kB / 1.292 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/1.082, allocations: 4.612 MB / 1.297 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.082, allocations: 0.9062 kB / 1.297 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.084, allocations: 1.162 MB / 1.298 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/1.084, allocations: 242.3 kB / 1.298 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.084, allocations: 13.2 kB / 1.298 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.085, allocations: 32.58 kB / 1.298 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.085, allocations: 57.03 kB / 1.298 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/1.085, allocations: 19.55 kB / 1.298 GB, free: 8.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001696/1.086, allocations: 1.548 MB / 1.3 GB, free: 8.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.086, allocations: 1.156 kB / 1.3 GB, free: 8.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008386/1.087, allocations: 225.4 kB / 1.3 GB, free: 8.746 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.001031/1.088, allocations: 487 kB / 1.3 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.09, allocations: 0.7509 MB / 1.301 GB, free: 8.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.09, allocations: 1.203 kB / 1.301 GB, free: 8.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/1.091, allocations: 0.5944 MB / 1.302 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.092, allocations: 244.6 kB / 1.302 GB, free: 8.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/1.096, allocations: 2.777 MB / 1.305 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/1.097, allocations: 1.244 MB / 1.306 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003067/1.097, allocations: 100.7 kB / 1.306 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.097, allocations: 51.89 kB / 1.306 GB, free: 6.555 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.097, allocations: 1.203 kB / 1.306 GB, free: 6.555 MB / 1.029 GB Notification: Performance of Templates: time 0.01857/1.116, allocations: 11.87 MB / 1.318 GB, free: 5.652 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