Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001495/0.001495, 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.00183/0.00183, allocations: 165 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.885/2.885, allocations: 389 MB / 0.633 GB, free: 1.016 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.TestCase3,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.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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.814e-05, allocations: 2.281 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.7386/0.7386, allocations: 138.4 MB / 1.135 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.7599, allocations: 19.72 MB / 1.155 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.7616, allocations: 70.69 kB / 1.155 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.7631, allocations: 1.172 MB / 1.156 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.7645, allocations: 0.9373 MB / 1.157 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.7654, allocations: 389.5 kB / 1.157 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.7667, allocations: 1.312 MB / 1.158 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.7674, allocations: 0.5347 MB / 1.159 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007742/0.7681, allocations: 0.7199 MB / 1.16 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009232/0.7691, allocations: 0.9337 MB / 1.16 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.7692, allocations: 66.38 kB / 1.161 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.7694, allocations: 110.6 kB / 1.161 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.7696, allocations: 337.1 kB / 1.161 GB, free: 44.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.7699, allocations: 290.7 kB / 1.161 GB, free: 44.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.771, allocations: 1.228 MB / 1.162 GB, free: 44.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.771, allocations: 2.812 kB / 1.162 GB, free: 44.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.803e-06/0.771, allocations: 1.594 kB / 1.162 GB, free: 44.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.771, allocations: 1.125 kB / 1.162 GB, free: 44.59 MB / 1.076 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.002053/0.773, allocations: 1.526 MB / 1.164 GB, free: 43.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7731, allocations: 9.969 kB / 1.164 GB, free: 43.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.7732, allocations: 141 kB / 1.164 GB, free: 43.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.7745, allocations: 1.04 MB / 1.165 GB, free: 43.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.7746, allocations: 102 kB / 1.165 GB, free: 43.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.7747, allocations: 51.42 kB / 1.165 GB, free: 43.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.7756, allocations: 0.5214 MB / 1.166 GB, free: 43.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.7756, allocations: 0 / 1.166 GB, free: 43.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.7756, allocations: 20.03 kB / 1.166 GB, free: 43.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.7756, allocations: 10.5 kB / 1.166 GB, free: 43.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.7764, allocations: 414.7 kB / 1.166 GB, free: 43.17 MB / 1.076 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.002763/0.7792, allocations: 1.779 MB / 1.168 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.7801, allocations: 415.2 kB / 1.168 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.7807, allocations: 288.1 kB / 1.169 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.7807, allocations: 5.484 kB / 1.169 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.7812, allocations: 291.8 kB / 1.169 GB, free: 42.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.7812, allocations: 0 / 1.169 GB, free: 42.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002476/0.7837, allocations: 1.001 MB / 1.17 GB, free: 42.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.7837, allocations: 64.28 kB / 1.17 GB, free: 42.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.785, allocations: 1.195 MB / 1.171 GB, free: 42.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.785, allocations: 43.09 kB / 1.171 GB, free: 42.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.7855, allocations: 0.5556 MB / 1.172 GB, free: 42.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.7856, allocations: 154 kB / 1.172 GB, free: 41.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.7857, allocations: 95.5 kB / 1.172 GB, free: 41.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.7858, allocations: 328.1 kB / 1.172 GB, free: 41.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.7864, allocations: 214.4 kB / 1.172 GB, free: 41.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/0.7871, allocations: 341.6 kB / 1.173 GB, free: 41.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.788, allocations: 0.5281 MB / 1.173 GB, free: 41.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.788, allocations: 1.125 kB / 1.173 GB, free: 41.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0016/0.7896, allocations: 0.8157 MB / 1.174 GB, free: 41.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7896, allocations: 7.906 kB / 1.174 GB, free: 41.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7896, allocations: 4.75 kB / 1.174 GB, free: 41.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.7901, allocations: 131.9 kB / 1.174 GB, free: 41.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.7904, allocations: 102.9 kB / 1.174 GB, free: 41.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.7929, allocations: 2.446 MB / 1.177 GB, free: 39.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.7934, allocations: 76.44 kB / 1.177 GB, free: 39.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.7934, allocations: 19.66 kB / 1.177 GB, free: 39.87 MB / 1.076 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.0004665/0.7939, allocations: 400.5 kB / 1.177 GB, free: 39.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.794, allocations: 129.3 kB / 1.177 GB, free: 39.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.7954, allocations: 0.7054 MB / 1.178 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.7954, allocations: 10.2 kB / 1.178 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7955, allocations: 6.094 kB / 1.178 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7955, allocations: 0 / 1.178 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.798, allocations: 1.386 MB / 1.179 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.798, allocations: 1.031 kB / 1.179 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.7982, allocations: 52.3 kB / 1.179 GB, free: 39.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.7986, allocations: 158.6 kB / 1.18 GB, free: 39.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.7987, allocations: 18.97 kB / 1.18 GB, free: 39.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/0.8021, allocations: 3.969 MB / 1.183 GB, free: 36.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8021, allocations: 0.7969 kB / 1.183 GB, free: 36.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.804, allocations: 1.008 MB / 1.184 GB, free: 36.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.8042, allocations: 150.6 kB / 1.185 GB, free: 36.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8043, allocations: 14.94 kB / 1.185 GB, free: 36.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.8047, allocations: 34.14 kB / 1.185 GB, free: 36.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.8048, allocations: 55.02 kB / 1.185 GB, free: 36.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.8049, allocations: 16.58 kB / 1.185 GB, free: 36.28 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001139/0.806, allocations: 0.8391 MB / 1.185 GB, free: 36.17 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.806, allocations: 0 / 1.185 GB, free: 36.17 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008524/0.8069, allocations: 208.5 kB / 1.186 GB, free: 36.15 MB / 1.076 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 (30): * Single equations (assignments): 22 * 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.001915/0.8088, allocations: 0.5148 MB / 1.186 GB, free: 35.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.8102, allocations: 0.6525 MB / 1.187 GB, free: 35.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8102, allocations: 2.125 kB / 1.187 GB, free: 35.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.811, allocations: 0.5182 MB / 1.187 GB, free: 35.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.812, allocations: 233.3 kB / 1.188 GB, free: 35.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.8153, allocations: 2.121 MB / 1.19 GB, free: 34.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.816, allocations: 0.5607 MB / 1.19 GB, free: 34.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006144/0.8166, allocations: 252.5 kB / 1.19 GB, free: 34.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.8169, allocations: 130.6 kB / 1.191 GB, free: 34.65 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.8169, allocations: 0 / 1.191 GB, free: 34.65 MB / 1.076 GB Notification: Performance of Templates: time 0.02501/0.8419, allocations: 11.5 MB / 1.202 GB, free: 33.27 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.098728772252798]