Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008168/0.008168, allocations: 99.8 kB / 15.73 MB, free: 6.023 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.001905/0.001905, allocations: 194.9 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.819, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1636/0.9827, allocations: 157 MB / 1.32 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02546/1.008, allocations: 21.87 MB / 1.341 GB, free: 404 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/1.011, allocations: 55.69 kB / 1.341 GB, free: 348 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/1.012, allocations: 1.344 MB / 1.343 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/1.014, allocations: 0.9769 MB / 1.344 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/1.015, allocations: 0.5063 MB / 1.344 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001612/1.017, allocations: 1.438 MB / 1.346 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/1.018, allocations: 0.7732 MB / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/1.019, allocations: 0.6426 MB / 1.347 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/1.02, allocations: 1.105 MB / 1.348 GB, free: 9.531 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/1.02, allocations: 72 kB / 1.348 GB, free: 9.461 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/1.02, allocations: 127.9 kB / 1.348 GB, free: 9.336 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/1.021, allocations: 368.6 kB / 1.349 GB, free: 8.973 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004538/1.021, allocations: 0.5587 MB / 1.349 GB, free: 8.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/1.022, allocations: 1.374 MB / 1.35 GB, free: 7.031 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.022, allocations: 3.938 kB / 1.35 GB, free: 7.027 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.022, allocations: 0 / 1.35 GB, free: 7.027 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.202e-05/1.022, allocations: 0 / 1.35 GB, free: 7.027 MB / 1.076 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.002376/1.025, allocations: 1.732 MB / 1.352 GB, free: 5.238 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/1.025, allocations: 8.922 kB / 1.352 GB, free: 5.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/1.025, allocations: 167.9 kB / 1.352 GB, free: 5.066 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009223/1.026, allocations: 0.7685 MB / 1.353 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.026, allocations: 78.67 kB / 1.353 GB, free: 4.164 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/1.026, allocations: 52 kB / 1.353 GB, free: 4.113 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.027, allocations: 0.573 MB / 1.354 GB, free: 3.527 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.027, allocations: 0 / 1.354 GB, free: 3.527 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/1.027, allocations: 20 kB / 1.354 GB, free: 3.508 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.027, allocations: 12 kB / 1.354 GB, free: 3.496 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/1.028, allocations: 447.6 kB / 1.354 GB, free: 3.055 MB / 1.076 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.003791/1.032, allocations: 3.014 MB / 1.357 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.033, allocations: 0.4986 MB / 1.358 GB, free: 15.26 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/1.034, allocations: 313.4 kB / 1.358 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/1.034, allocations: 8.359 kB / 1.358 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006208/1.035, allocations: 337.1 kB / 1.358 GB, free: 14.61 MB / 1.092 GB Notification: Performance of pre-optimization done (n=52): time 2.375e-06/1.035, allocations: 0.5469 kB / 1.358 GB, free: 14.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=52): time 0.003194/1.038, allocations: 1.353 MB / 1.36 GB, free: 13.21 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.038, allocations: 67.78 kB / 1.36 GB, free: 13.13 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.04, allocations: 2.116 MB / 1.362 GB, free: 11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/1.04, allocations: 37.7 kB / 1.362 GB, free: 10.96 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/1.041, allocations: 0.6327 MB / 1.362 GB, free: 10.32 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.041, allocations: 182.5 kB / 1.363 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.041, allocations: 102.3 kB / 1.363 GB, free: 10.04 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.041, allocations: 330 kB / 1.363 GB, free: 9.707 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/1.042, allocations: 237.2 kB / 1.363 GB, free: 9.473 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/1.042, allocations: 345.9 kB / 1.363 GB, free: 9.098 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/1.043, allocations: 0.5497 MB / 1.364 GB, free: 8.512 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.043, allocations: 0 / 1.364 GB, free: 8.512 MB / 1.092 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001736/1.045, allocations: 0.9244 MB / 1.365 GB, free: 7.578 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.045, allocations: 8 kB / 1.365 GB, free: 7.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.045, allocations: 4 kB / 1.365 GB, free: 7.566 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/1.045, allocations: 188.8 kB / 1.365 GB, free: 7.379 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/1.046, allocations: 115.7 kB / 1.365 GB, free: 7.266 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/1.049, allocations: 3.045 MB / 1.368 GB, free: 4.086 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/1.05, allocations: 83.58 kB / 1.368 GB, free: 4.004 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/1.05, allocations: 20 kB / 1.368 GB, free: 3.984 MB / 1.092 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.000516/1.05, allocations: 439.8 kB / 1.369 GB, free: 3.547 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.051, allocations: 147 kB / 1.369 GB, free: 3.402 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/1.051, allocations: 162 kB / 1.369 GB, free: 3.242 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.051, allocations: 11.94 kB / 1.369 GB, free: 3.23 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.051, allocations: 8 kB / 1.369 GB, free: 3.223 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.051, allocations: 3.984 kB / 1.369 GB, free: 3.219 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/1.054, allocations: 1.731 MB / 1.371 GB, free: 1.414 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.054, allocations: 0 / 1.371 GB, free: 1.414 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/1.054, allocations: 59.91 kB / 1.371 GB, free: 1.355 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/1.054, allocations: 201.5 kB / 1.371 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/1.054, allocations: 15.98 kB / 1.371 GB, free: 1.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/1.059, allocations: 4.6 MB / 1.375 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.059, allocations: 0 / 1.375 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.061, allocations: 1.171 MB / 1.377 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/1.061, allocations: 244.3 kB / 1.377 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/1.062, allocations: 12 kB / 1.377 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/1.062, allocations: 35.95 kB / 1.377 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.062, allocations: 64.28 kB / 1.377 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/1.062, allocations: 19.98 kB / 1.377 GB, free: 10.67 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001785/1.064, allocations: 1.552 MB / 1.378 GB, free: 9.121 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.91e-07/1.064, allocations: 3.938 kB / 1.378 GB, free: 9.117 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008099/1.065, allocations: 219.7 kB / 1.379 GB, free: 8.902 MB / 1.107 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.001111/1.066, allocations: 475.4 kB / 1.379 GB, free: 8.617 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001689/1.068, allocations: 0.7672 MB / 1.38 GB, free: 7.84 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.068, allocations: 0 / 1.38 GB, free: 7.84 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009607/1.069, allocations: 0.5937 MB / 1.38 GB, free: 7.223 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/1.07, allocations: 234.5 kB / 1.381 GB, free: 7.004 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/1.074, allocations: 2.822 MB / 1.383 GB, free: 4.145 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.075, allocations: 1.25 MB / 1.385 GB, free: 2.863 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003157/1.076, allocations: 105 kB / 1.385 GB, free: 2.758 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/1.076, allocations: 51.42 kB / 1.385 GB, free: 2.707 MB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/1.076, allocations: 0 / 1.385 GB, free: 2.707 MB / 1.107 GB Notification: Performance of Templates: time 0.02154/1.097, allocations: 11.59 MB / 1.396 GB, free: 7.23 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches