Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 218.4 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.56 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1847/0.4953, allocations: 160.6 MB / 1.483 GB, free: 340 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02717/0.5224, allocations: 21.94 MB / 1.505 GB, free: 10.33 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.5239, allocations: 71.44 kB / 1.505 GB, free: 10.26 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.5256, allocations: 1.169 MB / 1.506 GB, free: 9.09 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.5272, allocations: 0.9185 MB / 1.507 GB, free: 8.168 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.5281, allocations: 410.6 kB / 1.507 GB, free: 7.766 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.5295, allocations: 1.282 MB / 1.508 GB, free: 6.477 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007299/0.5303, allocations: 0.543 MB / 1.509 GB, free: 5.93 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007228/0.531, allocations: 0.5801 MB / 1.509 GB, free: 5.348 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5322, allocations: 1.003 MB / 1.51 GB, free: 4.34 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.5323, allocations: 64 kB / 1.51 GB, free: 4.277 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.5325, allocations: 112 kB / 1.511 GB, free: 4.168 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.5328, allocations: 324.6 kB / 1.511 GB, free: 3.852 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.5333, allocations: 496.8 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.5347, allocations: 1.225 MB / 1.513 GB, free: 2.133 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5347, allocations: 0 / 1.513 GB, free: 2.133 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5347, allocations: 4 kB / 1.513 GB, free: 2.129 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.5347, allocations: 0 / 1.513 GB, free: 2.129 MB / 1.201 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.002418/0.5371, allocations: 1.497 MB / 1.514 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5371, allocations: 12.03 kB / 1.514 GB, free: 0.582 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.5373, allocations: 144 kB / 1.514 GB, free: 452 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.5383, allocations: 0.6181 MB / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.5384, allocations: 96.39 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.5385, allocations: 51.98 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.5395, allocations: 0.5145 MB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5395, allocations: 7.938 kB / 1.515 GB, free: 15.09 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.5396, allocations: 16 kB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5396, allocations: 12 kB / 1.515 GB, free: 15.06 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.5405, allocations: 415.7 kB / 1.516 GB, free: 14.66 MB / 1.217 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.003873/0.5444, allocations: 2.749 MB / 1.518 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.5454, allocations: 436 kB / 1.519 GB, free: 11.24 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.546, allocations: 271 kB / 1.519 GB, free: 10.98 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.5461, allocations: 4.328 kB / 1.519 GB, free: 10.97 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/0.5467, allocations: 302.5 kB / 1.519 GB, free: 10.67 MB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.5467, allocations: 0 / 1.519 GB, free: 10.67 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003022/0.5497, allocations: 1.104 MB / 1.521 GB, free: 9.551 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.5497, allocations: 55.41 kB / 1.521 GB, free: 9.484 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.5518, allocations: 1.769 MB / 1.522 GB, free: 7.707 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.5518, allocations: 41.69 kB / 1.522 GB, free: 7.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.5523, allocations: 0.5262 MB / 1.523 GB, free: 7.129 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5524, allocations: 150.7 kB / 1.523 GB, free: 6.98 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.5526, allocations: 98.28 kB / 1.523 GB, free: 6.879 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5527, allocations: 333.9 kB / 1.523 GB, free: 6.547 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.5532, allocations: 217.6 kB / 1.524 GB, free: 6.332 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.5538, allocations: 333.8 kB / 1.524 GB, free: 5.965 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009602/0.5548, allocations: 0.5136 MB / 1.524 GB, free: 5.414 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5548, allocations: 0 / 1.524 GB, free: 5.414 MB / 1.217 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001673/0.5564, allocations: 0.8442 MB / 1.525 GB, free: 4.562 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5565, allocations: 4 kB / 1.525 GB, free: 4.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5565, allocations: 7.938 kB / 1.525 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.557, allocations: 194.4 kB / 1.525 GB, free: 4.359 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.5574, allocations: 91.88 kB / 1.526 GB, free: 4.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.5611, allocations: 2.904 MB / 1.528 GB, free: 1.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.5614, allocations: 71.59 kB / 1.528 GB, free: 1.188 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.5615, allocations: 20 kB / 1.528 GB, free: 1.168 MB / 1.217 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,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 (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.0004953/0.562, allocations: 391.8 kB / 1.529 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5621, allocations: 123.2 kB / 1.529 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.5637, allocations: 0.7567 MB / 1.53 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.5637, allocations: 8 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5637, allocations: 3.984 kB / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5637, allocations: 0 / 1.53 GB, free: 15.86 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.5663, allocations: 1.543 MB / 1.531 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5663, allocations: 4 kB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.5665, allocations: 55.89 kB / 1.531 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.567, allocations: 189.5 kB / 1.531 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.567, allocations: 19.92 kB / 1.531 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/0.5716, allocations: 4.128 MB / 1.536 GB, free: 9.641 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.5716, allocations: 3.984 kB / 1.536 GB, free: 9.637 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.5737, allocations: 1.075 MB / 1.537 GB, free: 8.543 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.5741, allocations: 147.1 kB / 1.537 GB, free: 8.398 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.5742, allocations: 11.98 kB / 1.537 GB, free: 8.387 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.5745, allocations: 27.97 kB / 1.537 GB, free: 8.359 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5746, allocations: 55.89 kB / 1.537 GB, free: 8.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.5747, allocations: 16 kB / 1.537 GB, free: 8.289 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001525/0.5762, allocations: 1.301 MB / 1.538 GB, free: 6.984 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5762, allocations: 0 / 1.538 GB, free: 6.984 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007751/0.577, allocations: 203.7 kB / 1.538 GB, free: 6.785 MB / 1.232 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,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.001867/0.5788, allocations: 487.8 kB / 1.539 GB, free: 6.488 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.5805, allocations: 0.7019 MB / 1.539 GB, free: 5.777 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5805, allocations: 0 / 1.539 GB, free: 5.777 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.5814, allocations: 0.5367 MB / 1.54 GB, free: 5.215 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5824, allocations: 204.8 kB / 1.54 GB, free: 5.027 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.5863, allocations: 2.427 MB / 1.543 GB, free: 2.566 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.5872, allocations: 1.157 MB / 1.544 GB, free: 1.379 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.5875, allocations: 88.78 kB / 1.544 GB, free: 1.289 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.5876, allocations: 47.42 kB / 1.544 GB, free: 1.242 MB / 1.232 GB Notification: Performance of SimCode: time 6.91e-07/0.5876, allocations: 0 / 1.544 GB, free: 1.242 MB / 1.232 GB Notification: Performance of Templates: time 0.02222/0.6098, allocations: 11.06 MB / 1.555 GB, free: 6.305 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.35806692391634]