Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 105 kB / 16.41 MB, free: 6.465 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.001737/0.001738, allocations: 187 kB / 17.34 MB, free: 5.719 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.08 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.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7697, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1707/0.9404, allocations: 156.8 MB / 1.32 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02625/0.9667, allocations: 21.75 MB / 1.342 GB, free: 0.625 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.969, allocations: 55.75 kB / 1.342 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.9709, allocations: 1.165 MB / 1.343 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.9727, allocations: 0.8718 MB / 1.344 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.9741, allocations: 442 kB / 1.344 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.976, allocations: 1.259 MB / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.9771, allocations: 0.6792 MB / 1.346 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000977/0.978, allocations: 0.5607 MB / 1.347 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.9793, allocations: 0.9098 MB / 1.347 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.9795, allocations: 64 kB / 1.347 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.9798, allocations: 119.8 kB / 1.348 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.9802, allocations: 316.8 kB / 1.348 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.9807, allocations: 488.8 kB / 1.348 GB, free: 9.711 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.9821, allocations: 1.201 MB / 1.35 GB, free: 8.508 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.9821, allocations: 3.984 kB / 1.35 GB, free: 8.504 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9821, allocations: 0 / 1.35 GB, free: 8.504 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.916e-05/0.9821, allocations: 0 / 1.35 GB, free: 8.504 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002852/0.985, allocations: 1.482 MB / 1.351 GB, free: 6.969 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.985, allocations: 12.86 kB / 1.351 GB, free: 6.957 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.9853, allocations: 135.2 kB / 1.351 GB, free: 6.824 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.9864, allocations: 0.6551 MB / 1.352 GB, free: 6.117 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.9866, allocations: 78.62 kB / 1.352 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.9867, allocations: 47.98 kB / 1.352 GB, free: 5.984 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.9877, allocations: 0.5262 MB / 1.352 GB, free: 5.445 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.9877, allocations: 0 / 1.352 GB, free: 5.445 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.9878, allocations: 20 kB / 1.352 GB, free: 5.426 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.9878, allocations: 8 kB / 1.352 GB, free: 5.418 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.9886, allocations: 411.7 kB / 1.353 GB, free: 5.016 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.004129/0.9928, allocations: 2.799 MB / 1.356 GB, free: 1.969 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.9938, allocations: 446.5 kB / 1.356 GB, free: 1.527 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.9944, allocations: 293.3 kB / 1.356 GB, free: 1.238 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.9945, allocations: 4.328 kB / 1.356 GB, free: 1.234 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/0.995, allocations: 298.5 kB / 1.357 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 3.076e-06/0.995, allocations: 0 / 1.357 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.003045/0.9981, allocations: 1.249 MB / 1.358 GB, free: 15.63 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.9982, allocations: 59.41 kB / 1.358 GB, free: 15.56 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/1.001, allocations: 1.752 MB / 1.36 GB, free: 13.8 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-05/1.001, allocations: 33.7 kB / 1.36 GB, free: 13.76 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/1.001, allocations: 0.518 MB / 1.36 GB, free: 13.24 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.001, allocations: 149.9 kB / 1.36 GB, free: 13.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/1.002, allocations: 94.25 kB / 1.36 GB, free: 12.99 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.002, allocations: 326 kB / 1.361 GB, free: 12.67 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/1.002, allocations: 217 kB / 1.361 GB, free: 12.46 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/1.003, allocations: 326.1 kB / 1.361 GB, free: 12.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/1.004, allocations: 0.5181 MB / 1.362 GB, free: 11.55 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.004, allocations: 448 / 1.362 GB, free: 11.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001789/1.006, allocations: 0.851 MB / 1.362 GB, free: 10.69 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.006, allocations: 4 kB / 1.362 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.006, allocations: 4 kB / 1.362 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/1.006, allocations: 188.8 kB / 1.363 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/1.007, allocations: 95.81 kB / 1.363 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/1.01, allocations: 3.004 MB / 1.366 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/1.011, allocations: 71.48 kB / 1.366 GB, free: 7.188 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/1.011, allocations: 24.06 kB / 1.366 GB, free: 7.164 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: 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000594/1.012, allocations: 383.3 kB / 1.366 GB, free: 6.781 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.012, allocations: 118.4 kB / 1.366 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/1.012, allocations: 143.7 kB / 1.366 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.012, allocations: 4 kB / 1.366 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/1.012, allocations: 4 kB / 1.366 GB, free: 6.508 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.012, allocations: 3.984 kB / 1.366 GB, free: 6.504 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/1.015, allocations: 1.568 MB / 1.368 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.015, allocations: 0 / 1.368 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/1.015, allocations: 43.95 kB / 1.368 GB, free: 4.836 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/1.016, allocations: 195.2 kB / 1.368 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/1.016, allocations: 19.98 kB / 1.368 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/1.02, allocations: 4.545 MB / 1.373 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.02, allocations: 4.031 kB / 1.373 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.022, allocations: 1.055 MB / 1.374 GB, free: 14.72 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/1.023, allocations: 219.5 kB / 1.374 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.023, allocations: 12 kB / 1.374 GB, free: 14.47 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/1.023, allocations: 27.97 kB / 1.374 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.023, allocations: 55.92 kB / 1.374 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/1.023, allocations: 15.98 kB / 1.374 GB, free: 14.38 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001535/1.025, allocations: 1.281 MB / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.025, allocations: 0 / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008517/1.026, allocations: 199.7 kB / 1.375 GB, free: 12.89 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: 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,13,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.001212/1.027, allocations: 491.8 kB / 1.376 GB, free: 12.6 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001646/1.029, allocations: 0.7349 MB / 1.377 GB, free: 11.85 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/1.029, allocations: 0 / 1.377 GB, free: 11.85 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/1.03, allocations: 0.5443 MB / 1.377 GB, free: 11.28 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/1.031, allocations: 198.2 kB / 1.377 GB, free: 11.09 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/1.035, allocations: 2.419 MB / 1.38 GB, free: 8.637 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/1.036, allocations: 1.142 MB / 1.381 GB, free: 7.469 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.036, allocations: 51.42 kB / 1.381 GB, free: 7.418 MB / 1.107 GB Notification: Performance of SimCode: time 8.62e-07/1.036, allocations: 0 / 1.381 GB, free: 7.418 MB / 1.107 GB Notification: Performance of Templates: time 0.02631/1.063, allocations: 17.89 MB / 1.398 GB, free: 5.547 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches