Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001878/0.001878, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.002426/0.002426, allocations: 159.5 kB / 23.01 MB, free: 4.949 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.742/2.742, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.TestCase6,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.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_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [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.002106/0.002106, allocations: 67.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7547, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1577/0.9125, allocations: 138.8 MB / 1.289 GB, free: 4.02 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02614/0.9386, allocations: 19.83 MB / 1.309 GB, free: 5.875 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.9403, allocations: 71.66 kB / 1.309 GB, free: 5.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.942, allocations: 1.348 MB / 1.31 GB, free: 5.141 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.9437, allocations: 1.043 MB / 1.311 GB, free: 4.5 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.9446, allocations: 429.2 kB / 1.312 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.9462, allocations: 1.47 MB / 1.313 GB, free: 3.316 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.947, allocations: 0.6306 MB / 1.314 GB, free: 2.871 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007757/0.9477, allocations: 0.6654 MB / 1.314 GB, free: 2.52 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.9491, allocations: 1.192 MB / 1.315 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.9492, allocations: 72.5 kB / 1.316 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.9495, allocations: 131.8 kB / 1.316 GB, free: 1.945 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.9499, allocations: 379 kB / 1.316 GB, free: 1.707 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.9503, allocations: 437.3 kB / 1.316 GB, free: 1.422 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.9518, allocations: 1.412 MB / 1.318 GB, free: 468 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9518, allocations: 1.156 kB / 1.318 GB, free: 468 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9518, allocations: 0 / 1.318 GB, free: 468 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.9518, allocations: 0 / 1.318 GB, free: 468 kB / 1.154 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.002814/0.9547, allocations: 1.726 MB / 1.32 GB, free: 15.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.9547, allocations: 15.97 kB / 1.32 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.955, allocations: 175.8 kB / 1.32 GB, free: 14.85 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.9561, allocations: 0.7017 MB / 1.32 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.9562, allocations: 104.4 kB / 1.32 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.9563, allocations: 52 kB / 1.321 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.9574, allocations: 0.5847 MB / 1.321 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.9575, allocations: 0 / 1.321 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.9575, allocations: 20 kB / 1.321 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.9575, allocations: 12 kB / 1.321 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009994/0.9585, allocations: 451.6 kB / 1.322 GB, free: 12.88 MB / 1.17 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.003619/0.9621, allocations: 1.955 MB / 1.323 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.9633, allocations: 471.8 kB / 1.324 GB, free: 10.4 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.964, allocations: 297.4 kB / 1.324 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.964, allocations: 8.312 kB / 1.324 GB, free: 10.1 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006733/0.9647, allocations: 338 kB / 1.325 GB, free: 9.762 MB / 1.17 GB Notification: Performance of pre-optimization done (n=52): time 2.094e-06/0.9647, allocations: 0 / 1.325 GB, free: 9.762 MB / 1.17 GB Notification: Performance of matching and sorting (n=52): time 0.003299/0.968, allocations: 1.22 MB / 1.326 GB, free: 8.535 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.968, allocations: 59.91 kB / 1.326 GB, free: 8.461 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.9706, allocations: 2.132 MB / 1.328 GB, free: 6.312 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.9706, allocations: 37.7 kB / 1.328 GB, free: 6.27 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/0.9712, allocations: 0.6287 MB / 1.329 GB, free: 5.637 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.9713, allocations: 170.5 kB / 1.329 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.9715, allocations: 106.3 kB / 1.329 GB, free: 5.355 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9717, allocations: 334.5 kB / 1.329 GB, free: 5.023 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.9723, allocations: 237.2 kB / 1.329 GB, free: 4.793 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.9729, allocations: 349.9 kB / 1.33 GB, free: 4.41 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.974, allocations: 0.5514 MB / 1.33 GB, free: 3.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.974, allocations: 4 kB / 1.33 GB, free: 3.816 MB / 1.17 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001929/0.976, allocations: 0.9224 MB / 1.331 GB, free: 2.883 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.976, allocations: 11.98 kB / 1.331 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.976, allocations: 4 kB / 1.331 GB, free: 2.867 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/0.9766, allocations: 186.9 kB / 1.331 GB, free: 2.684 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.977, allocations: 111.8 kB / 1.331 GB, free: 2.574 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.9809, allocations: 2.893 MB / 1.334 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.9814, allocations: 83.69 kB / 1.334 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.9815, allocations: 20 kB / 1.334 GB, free: 15.48 MB / 1.186 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.0006721/0.9821, allocations: 437.3 kB / 1.335 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.9823, allocations: 151 kB / 1.335 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.9841, allocations: 0.8645 MB / 1.336 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9841, allocations: 8 kB / 1.336 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9841, allocations: 4 kB / 1.336 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.9841, allocations: 7.922 kB / 1.336 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.9871, allocations: 1.612 MB / 1.337 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9871, allocations: 4 kB / 1.337 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.9873, allocations: 59.89 kB / 1.337 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000498/0.9878, allocations: 189.6 kB / 1.338 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.9879, allocations: 15.98 kB / 1.338 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.9928, allocations: 4.286 MB / 1.342 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9928, allocations: 7.922 kB / 1.342 GB, free: 7.574 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.995, allocations: 1.204 MB / 1.343 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.9953, allocations: 170.9 kB / 1.343 GB, free: 6.176 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.9954, allocations: 15.98 kB / 1.343 GB, free: 6.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.9958, allocations: 27.97 kB / 1.343 GB, free: 6.133 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.9959, allocations: 64.39 kB / 1.343 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.996, allocations: 23.92 kB / 1.343 GB, free: 6.047 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001869/0.9979, allocations: 1.56 MB / 1.345 GB, free: 4.488 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.9979, allocations: 0 / 1.345 GB, free: 4.488 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008148/0.9987, allocations: 231.6 kB / 1.345 GB, free: 4.262 MB / 1.186 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.001956/1.001, allocations: 0.4992 MB / 1.345 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.002, allocations: 0.7582 MB / 1.346 GB, free: 3.199 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.002, allocations: 0 / 1.346 GB, free: 3.199 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.003, allocations: 0.5747 MB / 1.347 GB, free: 2.602 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/1.004, allocations: 230.8 kB / 1.347 GB, free: 2.391 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/1.009, allocations: 2.88 MB / 1.35 GB, free: 15.47 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/1.01, allocations: 0.6555 MB / 1.35 GB, free: 14.79 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002703/1.01, allocations: 101 kB / 1.351 GB, free: 14.69 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/1.01, allocations: 52.48 kB / 1.351 GB, free: 14.64 MB / 1.201 GB Notification: Performance of SimCode: time 4.81e-07/1.01, allocations: 0 / 1.351 GB, free: 14.64 MB / 1.201 GB Notification: Performance of Templates: time 0.02312/1.033, allocations: 11.83 MB / 1.362 GB, free: 3.031 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 233.15423402609304]