Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase3,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.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_9_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.0047/0.0047, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001161/0.001161, allocations: 195.1 kB / 16.67 MB, free: 5.52 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.2/1.2, allocations: 222.9 MB / 240.3 MB, free: 15.18 MB / 206.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.036/2.036, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 0.9508 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8078, allocations: 140.4 MB / 1.088 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1854/0.9933, allocations: 156.8 MB / 1.241 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0239/1.017, allocations: 21.74 MB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/1.019, allocations: 55.69 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/1.021, allocations: 1.161 MB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/1.022, allocations: 0.8601 MB / 1.264 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.023, allocations: 442 kB / 1.265 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001104/1.024, allocations: 1.27 MB / 1.266 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006953/1.025, allocations: 0.6792 MB / 1.267 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/1.025, allocations: 0.549 MB / 1.267 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/1.026, allocations: 0.9175 MB / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/1.026, allocations: 71.92 kB / 1.268 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/1.027, allocations: 108 kB / 1.268 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/1.027, allocations: 320.7 kB / 1.268 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003637/1.027, allocations: 488.8 kB / 1.269 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000992/1.028, allocations: 1.201 MB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.028, allocations: 0 / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/1.028, allocations: 0 / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.028, allocations: 0 / 1.27 GB, free: 3.109 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.001997/1.03, allocations: 1.478 MB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/1.03, allocations: 8.031 kB / 1.272 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/1.031, allocations: 131.3 kB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/1.031, allocations: 0.6705 MB / 1.272 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.031, allocations: 70.69 kB / 1.272 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/1.032, allocations: 44 kB / 1.272 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/1.032, allocations: 0.5184 MB / 1.273 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.032, allocations: 7.938 kB / 1.273 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/1.032, allocations: 20 kB / 1.273 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.032, allocations: 8 kB / 1.273 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/1.033, allocations: 411.7 kB / 1.273 GB, free: 15.62 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.003134/1.036, allocations: 2.727 MB / 1.276 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/1.037, allocations: 449.3 kB / 1.276 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/1.038, allocations: 305.3 kB / 1.277 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/1.038, allocations: 4.328 kB / 1.277 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/1.039, allocations: 283.8 kB / 1.277 GB, free: 11.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/1.039, allocations: 192 / 1.277 GB, free: 11.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.002465/1.041, allocations: 1.148 MB / 1.278 GB, free: 10.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.041, allocations: 71.39 kB / 1.278 GB, free: 10.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/1.043, allocations: 1.756 MB / 1.28 GB, free: 8.578 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.043, allocations: 33.7 kB / 1.28 GB, free: 8.539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/1.043, allocations: 0.525 MB / 1.28 GB, free: 8.008 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.043, allocations: 146 kB / 1.281 GB, free: 7.863 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.043, allocations: 98.25 kB / 1.281 GB, free: 7.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.043, allocations: 330 kB / 1.281 GB, free: 7.434 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/1.044, allocations: 213 kB / 1.281 GB, free: 7.227 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/1.044, allocations: 335.1 kB / 1.282 GB, free: 6.848 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/1.045, allocations: 0.5152 MB / 1.282 GB, free: 6.285 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.045, allocations: 11.94 kB / 1.282 GB, free: 6.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001415/1.047, allocations: 0.8067 MB / 1.283 GB, free: 5.457 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.047, allocations: 8 kB / 1.283 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.047, allocations: 4 kB / 1.283 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/1.047, allocations: 144.9 kB / 1.283 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/1.048, allocations: 95.88 kB / 1.283 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/1.05, allocations: 2.606 MB / 1.286 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/1.051, allocations: 71.5 kB / 1.286 GB, free: 2.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.051, allocations: 23.98 kB / 1.286 GB, free: 2.375 MB / 1.014 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.0004203/1.051, allocations: 391.4 kB / 1.286 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.051, allocations: 122.4 kB / 1.286 GB, free: 1.859 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/1.051, allocations: 139.7 kB / 1.286 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.051, allocations: 8 kB / 1.286 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.051, allocations: 0 / 1.286 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.051, allocations: 3.984 kB / 1.286 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.054, allocations: 1.494 MB / 1.288 GB, free: 160 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.054, allocations: 0 / 1.288 GB, free: 160 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/1.054, allocations: 39.97 kB / 1.288 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/1.054, allocations: 169.5 kB / 1.288 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.054, allocations: 11.98 kB / 1.288 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/1.058, allocations: 4.013 MB / 1.292 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.058, allocations: 0 / 1.292 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/1.059, allocations: 0.9965 MB / 1.293 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/1.059, allocations: 219.5 kB / 1.293 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/1.06, allocations: 12 kB / 1.293 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/1.06, allocations: 23.97 kB / 1.293 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.06, allocations: 55.86 kB / 1.293 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/1.06, allocations: 23.92 kB / 1.293 GB, free: 10.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001233/1.061, allocations: 1.289 MB / 1.295 GB, free: 8.988 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.061, allocations: 0 / 1.295 GB, free: 8.988 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006587/1.062, allocations: 191.9 kB / 1.295 GB, free: 8.801 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: 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.001035/1.063, allocations: 489.4 kB / 1.295 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.064, allocations: 0.6589 MB / 1.296 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.064, allocations: 0 / 1.296 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/1.065, allocations: 0.5368 MB / 1.296 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/1.066, allocations: 190.9 kB / 1.297 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/1.069, allocations: 2.363 MB / 1.299 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/1.07, allocations: 1.157 MB / 1.3 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.07, allocations: 96.77 kB / 1.3 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.07, allocations: 43.42 kB / 1.3 GB, free: 3.371 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/1.07, allocations: 0 / 1.3 GB, free: 3.371 MB / 1.029 GB Notification: Performance of Templates: time 0.01888/1.089, allocations: 10.15 MB / 1.31 GB, free: 9.336 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches