Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.001472/0.001472, allocations: 110.5 kB / 17.07 MB, free: 6.082 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.00152/0.00152, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.383/1.383, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.89/2.89, allocations: 489.2 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] 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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9939/0.9958, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1996/1.195, allocations: 157.9 MB / 1.417 GB, free: 3.125 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03201/1.228, allocations: 22.15 MB / 1.438 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/1.23, allocations: 65.47 kB / 1.438 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002371/1.233, allocations: 1.38 MB / 1.44 GB, free: 220 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/1.235, allocations: 1.015 MB / 1.441 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/1.237, allocations: 0.6483 MB / 1.441 GB, free: 15.07 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002679/1.24, allocations: 1.685 MB / 1.443 GB, free: 14.11 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/1.242, allocations: 0.9632 MB / 1.444 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/1.243, allocations: 0.7357 MB / 1.445 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/1.245, allocations: 1.191 MB / 1.446 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003108/1.246, allocations: 92 kB / 1.446 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005879/1.246, allocations: 140 kB / 1.446 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/1.247, allocations: 416.3 kB / 1.447 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009846/1.248, allocations: 0.6558 MB / 1.447 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/1.25, allocations: 1.616 MB / 1.449 GB, free: 9.426 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.25, allocations: 0 / 1.449 GB, free: 9.426 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.142e-06/1.25, allocations: 0 / 1.449 GB, free: 9.426 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.958e-05/1.25, allocations: 0 / 1.449 GB, free: 9.426 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003839/1.254, allocations: 1.976 MB / 1.451 GB, free: 7.387 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.254, allocations: 8.031 kB / 1.451 GB, free: 7.379 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/1.254, allocations: 199.7 kB / 1.451 GB, free: 7.184 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/1.256, allocations: 0.8998 MB / 1.452 GB, free: 6.238 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.256, allocations: 87 kB / 1.452 GB, free: 6.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.256, allocations: 71.94 kB / 1.452 GB, free: 6.078 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.257, allocations: 0.7215 MB / 1.453 GB, free: 5.328 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/1.257, allocations: 4 kB / 1.453 GB, free: 5.324 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/1.258, allocations: 20 kB / 1.453 GB, free: 5.305 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/1.258, allocations: 16 kB / 1.453 GB, free: 5.289 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.259, allocations: 0.5476 MB / 1.453 GB, free: 4.742 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.004919/1.264, allocations: 3.61 MB / 1.457 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/1.265, allocations: 0.6079 MB / 1.457 GB, free: 232 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/1.266, allocations: 382 kB / 1.458 GB, free: 15.85 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/1.266, allocations: 8.562 kB / 1.458 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007631/1.267, allocations: 386.9 kB / 1.458 GB, free: 15.45 MB / 1.154 GB Notification: Performance of pre-optimization done (n=65): time 2.795e-06/1.267, allocations: 0 / 1.458 GB, free: 15.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=65): time 0.005188/1.272, allocations: 1.785 MB / 1.46 GB, free: 13.62 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.272, allocations: 59.97 kB / 1.46 GB, free: 13.55 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/1.275, allocations: 2.259 MB / 1.462 GB, free: 11.28 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/1.275, allocations: 41.7 kB / 1.462 GB, free: 11.23 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/1.275, allocations: 0.7193 MB / 1.463 GB, free: 10.51 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.276, allocations: 230.1 kB / 1.463 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/1.276, allocations: 130.6 kB / 1.463 GB, free: 10.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.276, allocations: 338 kB / 1.463 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/1.277, allocations: 277.8 kB / 1.464 GB, free: 9.543 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/1.277, allocations: 420.8 kB / 1.464 GB, free: 9.082 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.279, allocations: 0.6656 MB / 1.465 GB, free: 8.363 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.279, allocations: 0 / 1.465 GB, free: 8.363 MB / 1.154 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002455/1.281, allocations: 1.125 MB / 1.466 GB, free: 7.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.281, allocations: 8 kB / 1.466 GB, free: 7.223 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.281, allocations: 4 kB / 1.466 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008716/1.282, allocations: 269.4 kB / 1.466 GB, free: 6.953 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/1.283, allocations: 123.8 kB / 1.466 GB, free: 6.832 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/1.288, allocations: 3.708 MB / 1.47 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/1.289, allocations: 99.47 kB / 1.47 GB, free: 2.906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/1.289, allocations: 28 kB / 1.47 GB, free: 2.879 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006859/1.29, allocations: 463.8 kB / 1.47 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/1.29, allocations: 166.9 kB / 1.471 GB, free: 2.246 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/1.29, allocations: 187.7 kB / 1.471 GB, free: 2.051 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.29, allocations: 8 kB / 1.471 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.29, allocations: 7.875 kB / 1.471 GB, free: 2.035 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/1.29, allocations: 7.984 kB / 1.471 GB, free: 2.027 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/1.294, allocations: 2.034 MB / 1.473 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.294, allocations: 0 / 1.473 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.294, allocations: 59.84 kB / 1.473 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/1.295, allocations: 276.4 kB / 1.473 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/1.295, allocations: 19.98 kB / 1.473 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/1.301, allocations: 5.246 MB / 1.478 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.301, allocations: 4.062 kB / 1.478 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/1.304, allocations: 1.403 MB / 1.48 GB, free: 8.633 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/1.305, allocations: 283.8 kB / 1.48 GB, free: 8.336 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.305, allocations: 19.94 kB / 1.48 GB, free: 8.316 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/1.305, allocations: 35.95 kB / 1.48 GB, free: 8.281 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.306, allocations: 68.33 kB / 1.48 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/1.306, allocations: 23.98 kB / 1.48 GB, free: 8.191 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001985/1.308, allocations: 1.631 MB / 1.482 GB, free: 6.566 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.308, allocations: 0 / 1.482 GB, free: 6.566 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009576/1.309, allocations: 271.7 kB / 1.482 GB, free: 6.301 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001792/1.31, allocations: 496.4 kB / 1.482 GB, free: 6.004 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.312, allocations: 0.9127 MB / 1.483 GB, free: 5.082 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.312, allocations: 0 / 1.483 GB, free: 5.082 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.314, allocations: 0.6754 MB / 1.484 GB, free: 4.379 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.315, allocations: 285.5 kB / 1.484 GB, free: 4.109 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/1.32, allocations: 3.192 MB / 1.487 GB, free: 0.875 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.321, allocations: 1.303 MB / 1.489 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/1.321, allocations: 67.42 kB / 1.489 GB, free: 15.48 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/1.321, allocations: 0 / 1.489 GB, free: 15.48 MB / 1.186 GB Notification: Performance of Templates: time 0.03445/1.356, allocations: 23.73 MB / 1.512 GB, free: 7.785 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time [Calling sys.exit(0), Time elapsed: 14.877199199981987]