Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 120 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 191.7 kB / 20.03 MB, free: 2.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8287, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1858/1.015, allocations: 156.8 MB / 1.416 GB, free: 4 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02926/1.044, allocations: 21.78 MB / 1.437 GB, free: 2.152 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/1.046, allocations: 55.75 kB / 1.437 GB, free: 2.133 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/1.048, allocations: 1.155 MB / 1.438 GB, free: 1.527 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/1.05, allocations: 0.8586 MB / 1.439 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/1.051, allocations: 441.3 kB / 1.439 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001909/1.053, allocations: 1.256 MB / 1.441 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/1.054, allocations: 0.6799 MB / 1.441 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/1.056, allocations: 0.5565 MB / 1.442 GB, free: 15.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/1.057, allocations: 0.915 MB / 1.443 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/1.057, allocations: 65.66 kB / 1.443 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/1.058, allocations: 107.6 kB / 1.443 GB, free: 14.78 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/1.058, allocations: 321.2 kB / 1.443 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005037/1.059, allocations: 491.3 kB / 1.444 GB, free: 14.22 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/1.06, allocations: 1.206 MB / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.06, allocations: 5.438 kB / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.693e-06/1.06, allocations: 0 / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.569e-05/1.06, allocations: 0 / 1.445 GB, free: 13.38 MB / 1.139 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.002553/1.063, allocations: 1.516 MB / 1.446 GB, free: 11.89 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.063, allocations: 12.03 kB / 1.446 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/1.063, allocations: 140 kB / 1.446 GB, free: 11.74 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/1.064, allocations: 0.6795 MB / 1.447 GB, free: 11.01 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.064, allocations: 70.69 kB / 1.447 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/1.064, allocations: 55.94 kB / 1.447 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009782/1.065, allocations: 0.5184 MB / 1.448 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.065, allocations: 0 / 1.448 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/1.065, allocations: 16 kB / 1.448 GB, free: 10.33 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.065, allocations: 15.94 kB / 1.448 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/1.066, allocations: 407.7 kB / 1.448 GB, free: 9.918 MB / 1.139 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.003899/1.07, allocations: 2.788 MB / 1.451 GB, free: 6.879 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.071, allocations: 455.4 kB / 1.451 GB, free: 6.426 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/1.072, allocations: 293.3 kB / 1.452 GB, free: 6.137 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/1.072, allocations: 4.766 kB / 1.452 GB, free: 6.133 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/1.072, allocations: 306.4 kB / 1.452 GB, free: 5.824 MB / 1.139 GB Notification: Performance of pre-optimization done (n=45): time 2.285e-06/1.072, allocations: 0 / 1.452 GB, free: 5.824 MB / 1.139 GB Notification: Performance of matching and sorting (n=45): time 0.003096/1.075, allocations: 1.243 MB / 1.453 GB, free: 4.531 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/1.076, allocations: 63.34 kB / 1.453 GB, free: 4.457 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/1.078, allocations: 1.748 MB / 1.455 GB, free: 2.699 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/1.078, allocations: 45.64 kB / 1.455 GB, free: 2.648 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/1.078, allocations: 0.5221 MB / 1.455 GB, free: 2.121 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.078, allocations: 150.8 kB / 1.456 GB, free: 1.973 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.079, allocations: 98.25 kB / 1.456 GB, free: 1.871 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.079, allocations: 330 kB / 1.456 GB, free: 1.543 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/1.079, allocations: 216.9 kB / 1.456 GB, free: 1.328 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/1.08, allocations: 328.9 kB / 1.457 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/1.081, allocations: 0.5026 MB / 1.457 GB, free: 440 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.081, allocations: 4 kB / 1.457 GB, free: 436 kB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001785/1.083, allocations: 0.8465 MB / 1.458 GB, free: 15.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.083, allocations: 8 kB / 1.458 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.083, allocations: 4 kB / 1.458 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/1.083, allocations: 190.2 kB / 1.458 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/1.084, allocations: 91.88 kB / 1.458 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/1.087, allocations: 3.005 MB / 1.461 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.088, allocations: 79.58 kB / 1.461 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/1.088, allocations: 20 kB / 1.461 GB, free: 12.05 MB / 1.154 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.0006883/1.089, allocations: 387.4 kB / 1.462 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/1.089, allocations: 123.1 kB / 1.462 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/1.089, allocations: 139.7 kB / 1.462 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.089, allocations: 4 kB / 1.462 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.089, allocations: 4 kB / 1.462 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.089, allocations: 3.984 kB / 1.462 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/1.092, allocations: 1.567 MB / 1.463 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.092, allocations: 0 / 1.463 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/1.092, allocations: 47.89 kB / 1.463 GB, free: 9.707 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/1.093, allocations: 193.5 kB / 1.464 GB, free: 9.512 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/1.093, allocations: 15.98 kB / 1.464 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/1.098, allocations: 4.549 MB / 1.468 GB, free: 4.672 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.098, allocations: 0 / 1.468 GB, free: 4.672 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/1.1, allocations: 1.063 MB / 1.469 GB, free: 3.586 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.1, allocations: 236.1 kB / 1.469 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/1.1, allocations: 12 kB / 1.469 GB, free: 3.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/1.1, allocations: 27.97 kB / 1.469 GB, free: 3.297 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.101, allocations: 47.92 kB / 1.469 GB, free: 3.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/1.101, allocations: 23.98 kB / 1.469 GB, free: 3.227 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001583/1.102, allocations: 1.277 MB / 1.471 GB, free: 1.945 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.264e-06/1.102, allocations: 0 / 1.471 GB, free: 1.945 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007845/1.103, allocations: 211.7 kB / 1.471 GB, free: 1.738 MB / 1.154 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.00171/1.105, allocations: 488.4 kB / 1.471 GB, free: 1.457 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001581/1.106, allocations: 0.719 MB / 1.472 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.106, allocations: 0 / 1.472 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/1.107, allocations: 0.5519 MB / 1.473 GB, free: 148 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/1.108, allocations: 202.5 kB / 1.473 GB, free: 15.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/1.112, allocations: 2.478 MB / 1.475 GB, free: 13.43 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/1.113, allocations: 1.138 MB / 1.476 GB, free: 12.27 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.113, allocations: 51.42 kB / 1.476 GB, free: 12.22 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/1.113, allocations: 0 / 1.476 GB, free: 12.22 MB / 1.17 GB Notification: Performance of Templates: time 0.02605/1.139, allocations: 17.88 MB / 1.494 GB, free: 10.37 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.559831785038114]