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.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.001843/0.001843, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002183/0.002183, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.877/2.877, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 3.527e-06/3.527e-06, allocations: 4 kB / 1 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.29e-05, allocations: 4.953 kB / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.7449/0.7449, allocations: 138.7 MB / 1.136 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02598/0.7709, allocations: 19.83 MB / 1.155 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.7739, allocations: 70.88 kB / 1.155 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.7761, allocations: 1.36 MB / 1.156 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.7783, allocations: 1.063 MB / 1.157 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.7795, allocations: 428.4 kB / 1.158 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.7812, allocations: 1.505 MB / 1.159 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.782, allocations: 0.6325 MB / 1.16 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.7831, allocations: 0.8359 MB / 1.161 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.7843, allocations: 1.126 MB / 1.162 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.7844, allocations: 73.06 kB / 1.162 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.7848, allocations: 128.9 kB / 1.162 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7851, allocations: 389.7 kB / 1.162 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.7854, allocations: 329.4 kB / 1.163 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.7867, allocations: 1.398 MB / 1.164 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7867, allocations: 4 kB / 1.164 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7867, allocations: 0 / 1.164 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.7867, allocations: 0 / 1.164 GB, free: 7.184 MB / 0.9981 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.002418/0.7892, allocations: 1.747 MB / 1.166 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7892, allocations: 14.06 kB / 1.166 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.7895, allocations: 172.8 kB / 1.166 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.7912, allocations: 1.248 MB / 1.167 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.7914, allocations: 107 kB / 1.167 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.7914, allocations: 58.19 kB / 1.167 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7925, allocations: 0.5738 MB / 1.168 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.7925, allocations: 1.125 kB / 1.168 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.7926, allocations: 23.23 kB / 1.168 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.7926, allocations: 12.44 kB / 1.168 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.7935, allocations: 449.6 kB / 1.168 GB, free: 4.801 MB / 0.9981 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.003387/0.7969, allocations: 1.965 MB / 1.17 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.7979, allocations: 485.4 kB / 1.171 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.7986, allocations: 297.1 kB / 1.171 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.7986, allocations: 5.344 kB / 1.171 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005961/0.7992, allocations: 342 kB / 1.171 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.785e-06/0.7992, allocations: 1.781 kB / 1.171 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003331/0.8025, allocations: 1.218 MB / 1.172 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.8026, allocations: 57.72 kB / 1.173 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.8042, allocations: 1.432 MB / 1.174 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.8043, allocations: 37.77 kB / 1.174 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.8047, allocations: 0.6388 MB / 1.175 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.8048, allocations: 173.6 kB / 1.175 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.805, allocations: 104.2 kB / 1.175 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.805, allocations: 327.6 kB / 1.175 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.8055, allocations: 242.2 kB / 1.175 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.8061, allocations: 352.5 kB / 1.176 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.8071, allocations: 0.5565 MB / 1.176 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8071, allocations: 1.062 kB / 1.176 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001866/0.809, allocations: 0.9308 MB / 1.177 GB, free: 452 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.809, allocations: 6.594 kB / 1.177 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.809, allocations: 2.938 kB / 1.177 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.8096, allocations: 187.9 kB / 1.177 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.81, allocations: 106 kB / 1.177 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.8138, allocations: 2.902 MB / 1.18 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.8145, allocations: 77.2 kB / 1.18 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.8146, allocations: 20.88 kB / 1.18 GB, free: 14.27 MB / 1.014 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,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,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * 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.000816/0.8154, allocations: 446.5 kB / 1.181 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.8157, allocations: 153.1 kB / 1.181 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.8174, allocations: 0.8676 MB / 1.182 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8174, allocations: 6.469 kB / 1.182 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8175, allocations: 2.75 kB / 1.182 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.8175, allocations: 12.39 kB / 1.182 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.8204, allocations: 1.639 MB / 1.183 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8204, allocations: 0 / 1.183 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.8207, allocations: 60.38 kB / 1.183 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.8212, allocations: 192.6 kB / 1.184 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.8212, allocations: 18.86 kB / 1.184 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.826, allocations: 4.286 MB / 1.188 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.826, allocations: 0 / 1.188 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.8283, allocations: 1.214 MB / 1.189 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.8287, allocations: 174.4 kB / 1.189 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.8288, allocations: 24.22 kB / 1.189 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.8292, allocations: 35.25 kB / 1.189 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.8294, allocations: 67.31 kB / 1.189 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.8294, allocations: 19.81 kB / 1.189 GB, free: 8.633 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001305/0.8307, allocations: 0.9929 MB / 1.19 GB, free: 8.316 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8307, allocations: 0 / 1.19 GB, free: 8.316 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00087/0.8316, allocations: 236.3 kB / 1.191 GB, free: 8.273 MB / 1.014 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (37): * Single equations (assignments): 27 * 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.001946/0.8335, allocations: 0.511 MB / 1.191 GB, free: 8.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.8352, allocations: 0.7428 MB / 1.192 GB, free: 7.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8352, allocations: 5.906 kB / 1.192 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.8362, allocations: 0.5744 MB / 1.192 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.8374, allocations: 261.2 kB / 1.193 GB, free: 7.273 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.8415, allocations: 2.546 MB / 1.195 GB, free: 6.059 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.8422, allocations: 0.6601 MB / 1.196 GB, free: 5.691 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006598/0.8429, allocations: 290.1 kB / 1.196 GB, free: 5.559 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.8432, allocations: 151 kB / 1.196 GB, free: 5.508 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/0.8432, allocations: 2.688 kB / 1.196 GB, free: 5.508 MB / 1.014 GB Notification: Performance of Templates: time 0.02591/0.8691, allocations: 13.33 MB / 1.209 GB, free: 15.09 MB / 1.029 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 800] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 10.072730116546154]