Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001675/0.001675, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002282/0.002282, allocations: 215.1 kB / 23.01 MB, free: 4.566 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.0021/0.0021, allocations: 68.02 kB / 1.119 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.453, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2357/0.6887, allocations: 160.5 MB / 1.441 GB, free: 10.13 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03388/0.7226, allocations: 21.93 MB / 1.463 GB, free: 4.141 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.7254, allocations: 75.38 kB / 1.463 GB, free: 4.066 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.7276, allocations: 1.169 MB / 1.464 GB, free: 2.895 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.7299, allocations: 0.9185 MB / 1.465 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.7314, allocations: 406.5 kB / 1.465 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.7337, allocations: 1.278 MB / 1.466 GB, free: 296 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.7349, allocations: 0.5469 MB / 1.467 GB, free: 15.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.7362, allocations: 0.5802 MB / 1.468 GB, free: 15.15 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.7377, allocations: 1.003 MB / 1.469 GB, free: 14.15 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.7378, allocations: 64 kB / 1.469 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.7381, allocations: 111.9 kB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.7384, allocations: 328.6 kB / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.739, allocations: 492.8 kB / 1.47 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.7405, allocations: 1.225 MB / 1.471 GB, free: 11.94 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7405, allocations: 0 / 1.471 GB, free: 11.94 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7405, allocations: 0 / 1.471 GB, free: 11.94 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.7405, allocations: 0 / 1.471 GB, free: 11.94 MB / 1.17 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.002602/0.7432, allocations: 1.501 MB / 1.472 GB, free: 10.4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.7432, allocations: 16.03 kB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.7434, allocations: 144 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.7444, allocations: 0.6104 MB / 1.473 GB, free: 9.598 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.7446, allocations: 92.39 kB / 1.473 GB, free: 9.496 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.7447, allocations: 55.92 kB / 1.473 GB, free: 9.441 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.7457, allocations: 0.5184 MB / 1.474 GB, free: 8.91 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.7457, allocations: 3.984 kB / 1.474 GB, free: 8.906 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.7457, allocations: 16 kB / 1.474 GB, free: 8.891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.7458, allocations: 12 kB / 1.474 GB, free: 8.879 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.7466, allocations: 419.7 kB / 1.474 GB, free: 8.469 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.004084/0.7507, allocations: 2.761 MB / 1.477 GB, free: 5.465 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7518, allocations: 431.4 kB / 1.477 GB, free: 5.035 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.7524, allocations: 265.3 kB / 1.477 GB, free: 4.773 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.7524, allocations: 4.328 kB / 1.477 GB, free: 4.77 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005961/0.753, allocations: 302.5 kB / 1.478 GB, free: 4.465 MB / 1.17 GB Notification: Performance of pre-optimization done (n=45): time 2.846e-06/0.753, allocations: 0 / 1.478 GB, free: 4.465 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.00303/0.756, allocations: 1.108 MB / 1.479 GB, free: 3.344 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.7561, allocations: 59.41 kB / 1.479 GB, free: 3.273 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.7583, allocations: 1.769 MB / 1.481 GB, free: 1.496 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.7583, allocations: 37.7 kB / 1.481 GB, free: 1.453 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.7589, allocations: 0.5378 MB / 1.481 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.759, allocations: 147.2 kB / 1.481 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.7592, allocations: 98.3 kB / 1.481 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.7594, allocations: 330 kB / 1.482 GB, free: 344 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.7599, allocations: 217.2 kB / 1.482 GB, free: 128 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.7605, allocations: 337.8 kB / 1.482 GB, free: 15.75 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.7615, allocations: 0.5064 MB / 1.483 GB, free: 15.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7615, allocations: 3.938 kB / 1.483 GB, free: 15.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001786/0.7633, allocations: 0.847 MB / 1.483 GB, free: 14.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7633, allocations: 4 kB / 1.483 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7633, allocations: 8.125 kB / 1.484 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.7639, allocations: 186.8 kB / 1.484 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.7642, allocations: 95.81 kB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.7683, allocations: 2.893 MB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.7688, allocations: 83.62 kB / 1.487 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.7688, allocations: 20 kB / 1.487 GB, free: 10.95 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: 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.0006971/0.7695, allocations: 387.2 kB / 1.487 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.7697, allocations: 127.1 kB / 1.487 GB, free: 10.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.7713, allocations: 0.7528 MB / 1.488 GB, free: 9.668 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.7713, allocations: 8 kB / 1.488 GB, free: 9.66 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7713, allocations: 4 kB / 1.488 GB, free: 9.656 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.7713, allocations: 3.984 kB / 1.488 GB, free: 9.652 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.774, allocations: 1.543 MB / 1.489 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.774, allocations: 0 / 1.489 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.7743, allocations: 51.95 kB / 1.489 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.7748, allocations: 195.4 kB / 1.49 GB, free: 7.809 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.7748, allocations: 19.98 kB / 1.49 GB, free: 7.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.7796, allocations: 4.122 MB / 1.494 GB, free: 3.445 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7796, allocations: 0 / 1.494 GB, free: 3.445 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.7817, allocations: 1.072 MB / 1.495 GB, free: 2.352 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.782, allocations: 147.1 kB / 1.495 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.852e-05/0.7821, allocations: 15.98 kB / 1.495 GB, free: 2.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.7824, allocations: 27.97 kB / 1.495 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.7826, allocations: 59.83 kB / 1.495 GB, free: 2.105 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.7826, allocations: 16 kB / 1.495 GB, free: 2.09 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001678/0.7843, allocations: 1.297 MB / 1.496 GB, free: 0.7891 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7843, allocations: 0 / 1.496 GB, free: 0.7891 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008253/0.7851, allocations: 207.7 kB / 1.496 GB, free: 0.5859 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 (29): * Single equations (assignments): 21 * 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.00188/0.787, allocations: 488.7 kB / 1.497 GB, free: 296 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.7887, allocations: 0.6939 MB / 1.498 GB, free: 15.58 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7887, allocations: 0.625 kB / 1.498 GB, free: 15.58 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.7897, allocations: 0.5439 MB / 1.498 GB, free: 15.01 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.7907, allocations: 207.1 kB / 1.498 GB, free: 14.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.795, allocations: 2.48 MB / 1.501 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009753/0.796, allocations: 1.153 MB / 1.502 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.7962, allocations: 47.42 kB / 1.502 GB, free: 11.07 MB / 1.201 GB Notification: Performance of SimCode: time 7.61e-07/0.7962, allocations: 0 / 1.502 GB, free: 11.07 MB / 1.201 GB Notification: Performance of Templates: time 0.03031/0.8265, allocations: 18.17 MB / 1.52 GB, free: 8.93 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.378944922995288]