Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.81/1.81, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.118/3.118, allocations: 489.7 MB / 0.7761 GB, free: 33.67 MB / 0.6231 GB [Timeout remaining time 87] 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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.73 kB / 1.127 GB, free: 36.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 172.1 MB / 1.295 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1982/0.5709, allocations: 157.6 MB / 1.449 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03113/0.602, allocations: 21.95 MB / 1.47 GB, free: 7.465 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.605, allocations: 55.69 kB / 1.47 GB, free: 7.41 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.6072, allocations: 1.344 MB / 1.472 GB, free: 6.062 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.6095, allocations: 0.9848 MB / 1.473 GB, free: 5.074 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.6113, allocations: 0.5405 MB / 1.473 GB, free: 4.535 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.6135, allocations: 1.422 MB / 1.474 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000966/0.6144, allocations: 0.6522 MB / 1.475 GB, free: 2.441 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.6154, allocations: 0.6504 MB / 1.476 GB, free: 1.789 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.6169, allocations: 1.211 MB / 1.477 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6171, allocations: 68 kB / 1.477 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.6174, allocations: 128 kB / 1.477 GB, free: 396 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.6179, allocations: 372.5 kB / 1.477 GB, free: 20 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.6185, allocations: 0.5549 MB / 1.478 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.6203, allocations: 1.373 MB / 1.479 GB, free: 14.08 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6203, allocations: 4 kB / 1.479 GB, free: 14.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6203, allocations: 0 / 1.479 GB, free: 14.07 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.6203, allocations: 0 / 1.479 GB, free: 14.07 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003209/0.6235, allocations: 1.729 MB / 1.481 GB, free: 12.29 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.6235, allocations: 12.02 kB / 1.481 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.6239, allocations: 167.9 kB / 1.481 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.625, allocations: 0.7647 MB / 1.482 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.6252, allocations: 78.69 kB / 1.482 GB, free: 11.22 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6253, allocations: 63.94 kB / 1.482 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.6264, allocations: 0.573 MB / 1.483 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6265, allocations: 0 / 1.483 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.6265, allocations: 16 kB / 1.483 GB, free: 10.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.6265, allocations: 12 kB / 1.483 GB, free: 10.54 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.6275, allocations: 443.7 kB / 1.483 GB, free: 10.11 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.004547/0.632, allocations: 3.01 MB / 1.486 GB, free: 6.82 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.6333, allocations: 475.5 kB / 1.487 GB, free: 6.348 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/0.634, allocations: 289.4 kB / 1.487 GB, free: 6.062 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.996e-05/0.6341, allocations: 12.36 kB / 1.487 GB, free: 6.051 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/0.6349, allocations: 321.2 kB / 1.487 GB, free: 5.727 MB / 1.186 GB Notification: Performance of pre-optimization done (n=52): time 2.875e-06/0.6349, allocations: 0 / 1.487 GB, free: 5.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=52): time 0.003668/0.6385, allocations: 1.353 MB / 1.488 GB, free: 4.324 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.6386, allocations: 59.84 kB / 1.488 GB, free: 4.254 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.6414, allocations: 2.124 MB / 1.491 GB, free: 2.117 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.6414, allocations: 38.25 kB / 1.491 GB, free: 2.074 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006917/0.6421, allocations: 0.625 MB / 1.491 GB, free: 1.445 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.6424, allocations: 178.6 kB / 1.491 GB, free: 1.27 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.6426, allocations: 106.3 kB / 1.491 GB, free: 1.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.6428, allocations: 330 kB / 1.492 GB, free: 0.832 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/0.6434, allocations: 245 kB / 1.492 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.644, allocations: 341.9 kB / 1.492 GB, free: 224 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.6451, allocations: 0.5531 MB / 1.493 GB, free: 15.63 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6451, allocations: 0 / 1.493 GB, free: 15.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002022/0.6471, allocations: 0.9131 MB / 1.494 GB, free: 14.71 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6472, allocations: 8 kB / 1.494 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6472, allocations: 0 / 1.494 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.6478, allocations: 196.7 kB / 1.494 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.6481, allocations: 111.9 kB / 1.494 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/0.6522, allocations: 3.052 MB / 1.497 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.6527, allocations: 75.64 kB / 1.497 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.6528, allocations: 23.98 kB / 1.497 GB, free: 11.1 MB / 1.201 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.0006604/0.6534, allocations: 436.4 kB / 1.498 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.6536, allocations: 151 kB / 1.498 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.6553, allocations: 0.8356 MB / 1.499 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6553, allocations: 4 kB / 1.499 GB, free: 9.668 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6554, allocations: 4 kB / 1.499 GB, free: 9.664 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.6554, allocations: 3.984 kB / 1.499 GB, free: 9.66 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.6584, allocations: 1.727 MB / 1.5 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6584, allocations: 0 / 1.5 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.6586, allocations: 51.95 kB / 1.5 GB, free: 7.812 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.6591, allocations: 199.4 kB / 1.5 GB, free: 7.613 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.6592, allocations: 15.98 kB / 1.5 GB, free: 7.598 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005214/0.6644, allocations: 4.62 MB / 1.505 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6644, allocations: 0 / 1.505 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.6666, allocations: 1.152 MB / 1.506 GB, free: 1.527 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.667, allocations: 256 kB / 1.506 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6671, allocations: 15.98 kB / 1.506 GB, free: 1.242 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.6675, allocations: 27.97 kB / 1.506 GB, free: 1.215 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.6677, allocations: 56.36 kB / 1.506 GB, free: 1.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.6677, allocations: 19.98 kB / 1.506 GB, free: 1.141 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001841/0.6696, allocations: 1.545 MB / 1.508 GB, free: 15.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6696, allocations: 4 kB / 1.508 GB, free: 15.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008852/0.6704, allocations: 223.7 kB / 1.508 GB, free: 15.37 MB / 1.217 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.00185/0.6723, allocations: 494.7 kB / 1.509 GB, free: 15.08 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.6741, allocations: 0.7449 MB / 1.509 GB, free: 14.32 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6741, allocations: 0 / 1.509 GB, free: 14.32 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.6751, allocations: 0.5662 MB / 1.51 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6761, allocations: 233.2 kB / 1.51 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.681, allocations: 2.881 MB / 1.513 GB, free: 10.59 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009976/0.682, allocations: 1.236 MB / 1.514 GB, free: 9.316 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.6822, allocations: 55.42 kB / 1.514 GB, free: 9.262 MB / 1.217 GB Notification: Performance of SimCode: time 1.242e-06/0.6822, allocations: 4 kB / 1.514 GB, free: 9.258 MB / 1.217 GB Notification: Performance of Templates: time 0.03291/0.7151, allocations: 20.49 MB / 1.534 GB, free: 4.793 MB / 1.232 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches