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.001388/0.001388, allocations: 77.55 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.00142/0.00142, allocations: 162.4 kB / 23.02 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.397/1.397, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 179] 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.593/2.593, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] 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.002089/0.002089, allocations: 71.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2813, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.637/0.9183, allocations: 138.5 MB / 1.253 GB, free: 2.531 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.9445, allocations: 19.71 MB / 1.272 GB, free: 4.945 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.9461, allocations: 70.25 kB / 1.272 GB, free: 4.91 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.9478, allocations: 1.166 MB / 1.273 GB, free: 4.703 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.9494, allocations: 0.9203 MB / 1.274 GB, free: 4.391 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00094/0.9503, allocations: 383.4 kB / 1.274 GB, free: 4.172 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.9517, allocations: 1.276 MB / 1.276 GB, free: 3.629 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.9524, allocations: 0.5434 MB / 1.276 GB, free: 3.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.9532, allocations: 0.568 MB / 1.277 GB, free: 3.215 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.9544, allocations: 0.9798 MB / 1.278 GB, free: 3.016 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.9545, allocations: 66.22 kB / 1.278 GB, free: 3.016 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.9547, allocations: 114.2 kB / 1.278 GB, free: 3 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.9551, allocations: 326.9 kB / 1.278 GB, free: 2.852 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.9555, allocations: 383.4 kB / 1.279 GB, free: 2.625 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.9569, allocations: 1.229 MB / 1.28 GB, free: 2.133 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.9569, allocations: 0 / 1.28 GB, free: 2.133 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9569, allocations: 1.125 kB / 1.28 GB, free: 2.133 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.9569, allocations: 0 / 1.28 GB, free: 2.133 MB / 1.123 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.002501/0.9594, allocations: 1.508 MB / 1.281 GB, free: 1.129 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.9594, allocations: 9.406 kB / 1.281 GB, free: 1.129 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.9596, allocations: 141.5 kB / 1.281 GB, free: 1.055 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.9606, allocations: 0.6113 MB / 1.282 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.9607, allocations: 106.2 kB / 1.282 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.9608, allocations: 48.12 kB / 1.282 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.9618, allocations: 0.5214 MB / 1.283 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.9618, allocations: 2.047 kB / 1.283 GB, free: 296 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.9619, allocations: 17.22 kB / 1.283 GB, free: 284 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.9619, allocations: 10.06 kB / 1.283 GB, free: 284 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/0.9628, allocations: 417.3 kB / 1.283 GB, free: 148 kB / 1.123 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.003434/0.9662, allocations: 1.844 MB / 1.285 GB, free: 15.15 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.9673, allocations: 437.3 kB / 1.285 GB, free: 14.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.9679, allocations: 268.2 kB / 1.285 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.9679, allocations: 4.953 kB / 1.286 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/0.9685, allocations: 299 kB / 1.286 GB, free: 14.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=45): time 2.265e-06/0.9685, allocations: 0 / 1.286 GB, free: 14.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=45): time 0.003068/0.9716, allocations: 1.113 MB / 1.287 GB, free: 14.39 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.9716, allocations: 57.39 kB / 1.287 GB, free: 14.32 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.9737, allocations: 1.758 MB / 1.289 GB, free: 13.75 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.9737, allocations: 42.47 kB / 1.289 GB, free: 13.7 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005151/0.9743, allocations: 0.5185 MB / 1.289 GB, free: 13.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.9744, allocations: 155 kB / 1.289 GB, free: 13.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.9746, allocations: 98.7 kB / 1.289 GB, free: 13.12 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9747, allocations: 326.6 kB / 1.29 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.9752, allocations: 218.2 kB / 1.29 GB, free: 12.74 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.9759, allocations: 334.8 kB / 1.29 GB, free: 12.55 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.9769, allocations: 0.5204 MB / 1.291 GB, free: 12.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.9769, allocations: 1 kB / 1.291 GB, free: 12.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001756/0.9786, allocations: 0.8539 MB / 1.292 GB, free: 11.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9787, allocations: 7.219 kB / 1.292 GB, free: 11.92 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9787, allocations: 2.625 kB / 1.292 GB, free: 11.92 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.9792, allocations: 189.5 kB / 1.292 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.9795, allocations: 91.59 kB / 1.292 GB, free: 11.86 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.9833, allocations: 2.832 MB / 1.295 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.9837, allocations: 70.44 kB / 1.295 GB, free: 9.773 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.9837, allocations: 24.23 kB / 1.295 GB, free: 9.766 MB / 1.139 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.0005182/0.9843, allocations: 389.9 kB / 1.295 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.9844, allocations: 119.7 kB / 1.295 GB, free: 9.5 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.986, allocations: 0.7709 MB / 1.296 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.986, allocations: 5.594 kB / 1.296 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.986, allocations: 2.125 kB / 1.296 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.986, allocations: 5.359 kB / 1.296 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.9886, allocations: 1.448 MB / 1.297 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9886, allocations: 1.875 kB / 1.297 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.9888, allocations: 52.84 kB / 1.297 GB, free: 8.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.9893, allocations: 198.8 kB / 1.298 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.9893, allocations: 14.62 kB / 1.298 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004716/0.994, allocations: 4.26 MB / 1.302 GB, free: 4.961 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.994, allocations: 5.219 kB / 1.302 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.996, allocations: 1.077 MB / 1.303 GB, free: 4.457 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.9963, allocations: 147.2 kB / 1.303 GB, free: 4.367 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.9964, allocations: 19.34 kB / 1.303 GB, free: 4.355 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.9967, allocations: 27.16 kB / 1.303 GB, free: 4.352 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.9968, allocations: 59 kB / 1.303 GB, free: 4.336 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.9969, allocations: 13.36 kB / 1.303 GB, free: 4.336 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001477/0.9983, allocations: 1.291 MB / 1.304 GB, free: 3.77 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9983, allocations: 4 kB / 1.304 GB, free: 3.766 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007632/0.9991, allocations: 210.9 kB / 1.305 GB, free: 3.723 MB / 1.139 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.001931/1.001, allocations: 0.5013 MB / 1.305 GB, free: 3.52 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001519/1.003, allocations: 0.7072 MB / 1.306 GB, free: 3.113 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.003, allocations: 0 / 1.306 GB, free: 3.113 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00095/1.004, allocations: 0.5498 MB / 1.306 GB, free: 2.707 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/1.005, allocations: 194.2 kB / 1.307 GB, free: 2.605 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/1.008, allocations: 2.435 MB / 1.309 GB, free: 1.305 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/1.009, allocations: 0.5611 MB / 1.309 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002343/1.009, allocations: 84.88 kB / 1.31 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/1.009, allocations: 45.3 kB / 1.31 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of SimCode: time 4.61e-07/1.009, allocations: 0 / 1.31 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of Templates: time 0.02046/1.029, allocations: 10.83 MB / 1.32 GB, free: 8.074 MB / 1.154 GB " [Timeout remaining time 299] 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 -s ida -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: 76.9549535230035]