Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001701/0.001701, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.002093/0.002093, allocations: 157.2 kB / 23.01 MB, free: 4.961 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.8/2.8, allocations: 377.9 MB / 0.6228 GB, free: 12.55 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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") [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.002046/0.002046, allocations: 59.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8372, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1669/1.004, allocations: 138.5 MB / 1.289 GB, free: 4.199 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03151/1.036, allocations: 19.72 MB / 1.308 GB, free: 6.137 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/1.038, allocations: 71.09 kB / 1.308 GB, free: 6.102 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/1.04, allocations: 1.167 MB / 1.31 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/1.042, allocations: 0.9197 MB / 1.311 GB, free: 4.914 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/1.043, allocations: 379.7 kB / 1.311 GB, free: 4.602 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001729/1.045, allocations: 1.281 MB / 1.312 GB, free: 3.871 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007821/1.045, allocations: 0.5353 MB / 1.313 GB, free: 3.504 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/1.046, allocations: 0.5666 MB / 1.313 GB, free: 3.203 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/1.048, allocations: 0.9897 MB / 1.314 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/1.048, allocations: 65.44 kB / 1.314 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/1.048, allocations: 114 kB / 1.314 GB, free: 2.723 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/1.048, allocations: 325.3 kB / 1.315 GB, free: 2.516 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/1.049, allocations: 380.2 kB / 1.315 GB, free: 2.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/1.05, allocations: 1.233 MB / 1.316 GB, free: 1.422 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/1.05, allocations: 0 / 1.316 GB, free: 1.422 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/1.05, allocations: 1.062 kB / 1.316 GB, free: 1.422 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.05, allocations: 0 / 1.316 GB, free: 1.422 MB / 1.154 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.002578/1.053, allocations: 1.503 MB / 1.318 GB, free: 280 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.053, allocations: 9.812 kB / 1.318 GB, free: 280 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/1.053, allocations: 148.5 kB / 1.318 GB, free: 196 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/1.054, allocations: 0.6121 MB / 1.318 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/1.054, allocations: 107.5 kB / 1.319 GB, free: 15.6 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/1.054, allocations: 46.61 kB / 1.319 GB, free: 15.59 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/1.055, allocations: 0.5168 MB / 1.319 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/1.055, allocations: 8 kB / 1.319 GB, free: 15.26 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/1.055, allocations: 16.59 kB / 1.319 GB, free: 15.25 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.055, allocations: 10.09 kB / 1.319 GB, free: 15.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009413/1.056, allocations: 420.1 kB / 1.32 GB, free: 14.95 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.003576/1.06, allocations: 1.849 MB / 1.321 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.061, allocations: 433.6 kB / 1.322 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/1.061, allocations: 268.4 kB / 1.322 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/1.061, allocations: 4.328 kB / 1.322 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/1.062, allocations: 306.5 kB / 1.322 GB, free: 12.05 MB / 1.17 GB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/1.062, allocations: 0 / 1.322 GB, free: 12.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.003152/1.065, allocations: 1.104 MB / 1.323 GB, free: 10.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.065, allocations: 55.41 kB / 1.323 GB, free: 10.86 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/1.067, allocations: 1.759 MB / 1.325 GB, free: 9.094 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/1.068, allocations: 41.69 kB / 1.325 GB, free: 9.047 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/1.068, allocations: 0.5181 MB / 1.326 GB, free: 8.523 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.068, allocations: 154.7 kB / 1.326 GB, free: 8.371 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/1.068, allocations: 94.34 kB / 1.326 GB, free: 8.273 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.069, allocations: 330.4 kB / 1.326 GB, free: 7.945 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/1.069, allocations: 229.1 kB / 1.326 GB, free: 7.719 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/1.07, allocations: 321.8 kB / 1.327 GB, free: 7.363 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.071, allocations: 0.5226 MB / 1.327 GB, free: 6.805 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.071, allocations: 7.938 kB / 1.327 GB, free: 6.797 MB / 1.17 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001861/1.073, allocations: 0.8387 MB / 1.328 GB, free: 5.949 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.073, allocations: 4 kB / 1.328 GB, free: 5.945 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.073, allocations: 8.156 kB / 1.328 GB, free: 5.938 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/1.073, allocations: 188.6 kB / 1.328 GB, free: 5.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/1.074, allocations: 91.88 kB / 1.328 GB, free: 5.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/1.078, allocations: 2.84 MB / 1.331 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/1.078, allocations: 71.62 kB / 1.331 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/1.078, allocations: 20 kB / 1.331 GB, free: 2.633 MB / 1.17 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.0006757/1.079, allocations: 383.6 kB / 1.332 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/1.079, allocations: 123.1 kB / 1.332 GB, free: 2.129 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/1.081, allocations: 0.7723 MB / 1.333 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.081, allocations: 4 kB / 1.333 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.081, allocations: 11.98 kB / 1.333 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.081, allocations: 0 / 1.333 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/1.084, allocations: 1.452 MB / 1.334 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.084, allocations: 3.984 kB / 1.334 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/1.084, allocations: 43.91 kB / 1.334 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/1.085, allocations: 189.6 kB / 1.334 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/1.085, allocations: 19.98 kB / 1.334 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/1.09, allocations: 4.258 MB / 1.338 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.09, allocations: 0 / 1.338 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/1.092, allocations: 1.09 MB / 1.339 GB, free: 9.996 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.092, allocations: 147.1 kB / 1.34 GB, free: 9.852 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/1.092, allocations: 19.92 kB / 1.34 GB, free: 9.832 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.093, allocations: 31.97 kB / 1.34 GB, free: 9.801 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.093, allocations: 48.41 kB / 1.34 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.093, allocations: 19.98 kB / 1.34 GB, free: 9.734 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00169/1.094, allocations: 1.284 MB / 1.341 GB, free: 8.445 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.094, allocations: 0 / 1.341 GB, free: 8.445 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008422/1.095, allocations: 207.7 kB / 1.341 GB, free: 8.242 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: 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,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.001908/1.097, allocations: 0.5067 MB / 1.342 GB, free: 7.949 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001636/1.099, allocations: 0.7055 MB / 1.342 GB, free: 7.234 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.099, allocations: 0 / 1.342 GB, free: 7.234 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009947/1.1, allocations: 0.5626 MB / 1.343 GB, free: 6.648 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.101, allocations: 192.9 kB / 1.343 GB, free: 6.465 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/1.105, allocations: 2.433 MB / 1.345 GB, free: 4 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/1.106, allocations: 0.5623 MB / 1.346 GB, free: 3.402 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002776/1.106, allocations: 80.64 kB / 1.346 GB, free: 3.32 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.106, allocations: 40.48 kB / 1.346 GB, free: 3.281 MB / 1.186 GB Notification: Performance of SimCode: time 5.61e-07/1.106, allocations: 4 kB / 1.346 GB, free: 3.277 MB / 1.186 GB Notification: Performance of Templates: time 0.02243/1.129, allocations: 10.83 MB / 1.357 GB, free: 8.664 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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: 77.21714520093519]