Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001437/0.001437, allocations: 196 kB / 22.11 MB, free: 5.152 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.415/1.415, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.116/3.116, allocations: 495.8 MB / 0.783 GB, free: 33.51 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3")
translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 66.8 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3027, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1828/0.4855, allocations: 155.9 MB / 1.459 GB, free: 5.367 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.02879/0.5143, allocations: 21.65 MB / 1.48 GB, free: 15.65 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.5161, allocations: 71.44 kB / 1.48 GB, free: 15.58 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.001776/0.5178, allocations: 1.169 MB / 1.481 GB, free: 14.41 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.00157/0.5194, allocations: 0.868 MB / 1.482 GB, free: 13.54 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.5207, allocations: 485.1 kB / 1.483 GB, free: 13.06 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.00153/0.5222, allocations: 1.259 MB / 1.484 GB, free: 11.8 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.523, allocations: 0.5469 MB / 1.484 GB, free: 11.25 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.5237, allocations: 0.5646 MB / 1.485 GB, free: 10.68 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.5249, allocations: 0.9995 MB / 1.486 GB, free: 9.68 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.525, allocations: 68 kB / 1.486 GB, free: 9.613 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.5253, allocations: 112 kB / 1.486 GB, free: 9.504 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.5256, allocations: 316.7 kB / 1.486 GB, free: 9.195 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.526, allocations: 0.489 MB / 1.487 GB, free: 8.703 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.001392/0.5274, allocations: 1.202 MB / 1.488 GB, free: 7.496 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5274, allocations: 4 kB / 1.488 GB, free: 7.492 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.343e-06/0.5274, allocations: 0 / 1.488 GB, free: 7.492 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 1.818e-05/0.5274, allocations: 0 / 1.488 GB, free: 7.492 MB / 1.186 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.002405/0.5298, allocations: 1.485 MB / 1.49 GB, free: 5.965 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5299, allocations: 12.03 kB / 1.49 GB, free: 5.953 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.5301, allocations: 144 kB / 1.49 GB, free: 5.812 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009316/0.531, allocations: 0.5983 MB / 1.49 GB, free: 5.176 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.5311, allocations: 74.69 kB / 1.49 GB, free: 5.098 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.5312, allocations: 43.95 kB / 1.49 GB, free: 5.055 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.5322, allocations: 0.5223 MB / 1.491 GB, free: 4.52 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5322, allocations: 0 / 1.491 GB, free: 4.52 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.5323, allocations: 24 kB / 1.491 GB, free: 4.496 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5323, allocations: 8 kB / 1.491 GB, free: 4.488 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.5332, allocations: 415.7 kB / 1.491 GB, free: 4.082 MB / 1.186 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.004108/0.5373, allocations: 2.681 MB / 1.494 GB, free: 1.176 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5383, allocations: 415.5 kB / 1.494 GB, free: 0.7578 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.539, allocations: 281.3 kB / 1.495 GB, free: 492 kB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.539, allocations: 8.266 kB / 1.495 GB, free: 484 kB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/0.5396, allocations: 300.7 kB / 1.495 GB, free: 172 kB / 1.186 GB
Notification: Performance of pre-optimization done (n=44): time 2.314e-06/0.5396, allocations: 0 / 1.495 GB, free: 172 kB / 1.186 GB
Notification: Performance of matching and sorting (n=44): time 0.002741/0.5424, allocations: 0.9938 MB / 1.496 GB, free: 15.16 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.5424, allocations: 63.39 kB / 1.496 GB, free: 15.09 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.5445, allocations: 1.768 MB / 1.498 GB, free: 13.31 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.5445, allocations: 37.7 kB / 1.498 GB, free: 13.27 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.545, allocations: 0.5254 MB / 1.498 GB, free: 12.74 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.5452, allocations: 150.8 kB / 1.498 GB, free: 12.59 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.5453, allocations: 98.3 kB / 1.498 GB, free: 12.49 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001477/0.5455, allocations: 330 kB / 1.499 GB, free: 12.16 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.546, allocations: 213.2 kB / 1.499 GB, free: 11.95 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.5466, allocations: 341.1 kB / 1.499 GB, free: 11.57 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.5476, allocations: 0.5241 MB / 1.5 GB, free: 11 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5476, allocations: 3.938 kB / 1.5 GB, free: 11 MB / 1.201 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.001633/0.5492, allocations: 0.8018 MB / 1.501 GB, free: 10.18 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5492, allocations: 7.938 kB / 1.501 GB, free: 10.18 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5492, allocations: 4 kB / 1.501 GB, free: 10.17 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/0.5497, allocations: 133 kB / 1.501 GB, free: 10.04 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.5501, allocations: 107.8 kB / 1.501 GB, free: 9.934 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.5532, allocations: 2.501 MB / 1.503 GB, free: 7.32 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.5537, allocations: 79.58 kB / 1.503 GB, free: 7.242 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.5537, allocations: 20 kB / 1.503 GB, free: 7.223 MB / 1.201 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled)
 * 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.0005733/0.5543, allocations: 387.4 kB / 1.504 GB, free: 6.836 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5544, allocations: 123.2 kB / 1.504 GB, free: 6.715 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.5559, allocations: 0.7161 MB / 1.505 GB, free: 5.98 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5559, allocations: 4 kB / 1.505 GB, free: 5.977 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5559, allocations: 4 kB / 1.505 GB, free: 5.973 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5559, allocations: 0 / 1.505 GB, free: 5.973 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.5584, allocations: 1.472 MB / 1.506 GB, free: 4.449 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.5585, allocations: 0 / 1.506 GB, free: 4.449 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.5587, allocations: 51.97 kB / 1.506 GB, free: 4.398 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.5591, allocations: 169.5 kB / 1.506 GB, free: 4.227 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.5592, allocations: 11.94 kB / 1.506 GB, free: 4.215 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/0.5635, allocations: 4.076 MB / 1.51 GB, free: 15.91 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5636, allocations: 0 / 1.51 GB, free: 15.91 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.5658, allocations: 1.001 MB / 1.511 GB, free: 14.89 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.5661, allocations: 147.1 kB / 1.511 GB, free: 14.74 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.5662, allocations: 15.98 kB / 1.511 GB, free: 14.73 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.5666, allocations: 32.14 kB / 1.511 GB, free: 14.7 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.5668, allocations: 51.84 kB / 1.511 GB, free: 14.64 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.5668, allocations: 23.92 kB / 1.511 GB, free: 14.62 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.001696/0.5685, allocations: 1.285 MB / 1.513 GB, free: 13.33 MB / 1.217 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.5685, allocations: 0 / 1.513 GB, free: 13.33 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.0008221/0.5693, allocations: 199.8 kB / 1.513 GB, free: 13.14 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T)
 * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent)
 * 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 (29):
 * Single equations (assignments): 21
 * 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.001845/0.5712, allocations: 497 kB / 1.513 GB, free: 12.83 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.001506/0.5727, allocations: 0.6482 MB / 1.514 GB, free: 12.17 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5727, allocations: 0 / 1.514 GB, free: 12.17 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5737, allocations: 0.5095 MB / 1.514 GB, free: 11.64 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5749, allocations: 196.6 kB / 1.515 GB, free: 11.46 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.5795, allocations: 2.388 MB / 1.517 GB, free: 9.035 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/0.5805, allocations: 1.15 MB / 1.518 GB, free: 7.859 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.0003176/0.5808, allocations: 96.83 kB / 1.518 GB, free: 7.762 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.5809, allocations: 43.44 kB / 1.518 GB, free: 7.719 MB / 1.217 GB
Notification: Performance of SimCode: time 8.72e-07/0.5809, allocations: 0 / 1.518 GB, free: 7.719 MB / 1.217 GB
Notification: Performance of Templates: time 0.02272/0.6036, allocations: 10.56 MB / 1.529 GB, free: 13.28 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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: 10.318754516541958]