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.001443/0.001443, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001634/0.001634, allocations: 221.5 kB / 23 MB, free: 4.91 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.667/1.667, allocations: 230.6 MB / 256.8 MB, free: 7.824 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 3.045/3.045, allocations: 476 MB / 0.7707 GB, free: 4.762 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.002128/0.002128, allocations: 67.64 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4609, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2093/0.6701, allocations: 138.5 MB / 1.419 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03315/0.7033, allocations: 19.71 MB / 1.438 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.7059, allocations: 71.44 kB / 1.438 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.7082, allocations: 1.165 MB / 1.439 GB, free: 11.94 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.7106, allocations: 0.9224 MB / 1.44 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.7121, allocations: 382.9 kB / 1.441 GB, free: 10.64 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.7142, allocations: 1.278 MB / 1.442 GB, free: 9.355 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008916/0.7151, allocations: 0.539 MB / 1.443 GB, free: 8.809 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009193/0.716, allocations: 0.5647 MB / 1.443 GB, free: 8.242 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.7174, allocations: 0.9838 MB / 1.444 GB, free: 7.258 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.7175, allocations: 64 kB / 1.444 GB, free: 7.195 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.7178, allocations: 116 kB / 1.444 GB, free: 7.082 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.7183, allocations: 324.7 kB / 1.445 GB, free: 6.766 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.7187, allocations: 381.5 kB / 1.445 GB, free: 6.391 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.7203, allocations: 1.233 MB / 1.446 GB, free: 5.152 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.7203, allocations: 4 kB / 1.446 GB, free: 5.148 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7203, allocations: 0 / 1.446 GB, free: 5.148 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.7204, allocations: 4 kB / 1.446 GB, free: 5.145 MB / 1.139 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.002819/0.7232, allocations: 1.501 MB / 1.448 GB, free: 3.605 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7232, allocations: 8.031 kB / 1.448 GB, free: 3.598 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.7234, allocations: 151.9 kB / 1.448 GB, free: 3.449 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/0.7244, allocations: 0.6103 MB / 1.448 GB, free: 2.801 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.7246, allocations: 96.39 kB / 1.448 GB, free: 2.695 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.7247, allocations: 47.98 kB / 1.448 GB, free: 2.648 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.7257, allocations: 0.5223 MB / 1.449 GB, free: 2.109 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.7258, allocations: 4 kB / 1.449 GB, free: 2.105 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.7258, allocations: 16 kB / 1.449 GB, free: 2.09 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.7258, allocations: 8 kB / 1.449 GB, free: 2.082 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009915/0.7268, allocations: 423.7 kB / 1.449 GB, free: 1.672 MB / 1.139 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.003622/0.7304, allocations: 1.845 MB / 1.451 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.7315, allocations: 423.9 kB / 1.452 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.7321, allocations: 270.6 kB / 1.452 GB, free: 15.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.7322, allocations: 4.328 kB / 1.452 GB, free: 15.08 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/0.7328, allocations: 298.6 kB / 1.452 GB, free: 14.78 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/0.7328, allocations: 0 / 1.452 GB, free: 14.78 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.003192/0.736, allocations: 1.115 MB / 1.453 GB, free: 13.65 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.736, allocations: 59.41 kB / 1.453 GB, free: 13.58 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.7385, allocations: 1.759 MB / 1.455 GB, free: 11.81 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.7386, allocations: 41.69 kB / 1.455 GB, free: 11.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.7392, allocations: 0.5185 MB / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.7393, allocations: 150.7 kB / 1.456 GB, free: 11.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.7395, allocations: 102.3 kB / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.7397, allocations: 326 kB / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.7402, allocations: 225.1 kB / 1.456 GB, free: 10.45 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.7408, allocations: 325.8 kB / 1.457 GB, free: 10.08 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.742, allocations: 0.5199 MB / 1.457 GB, free: 9.523 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.742, allocations: 4 kB / 1.457 GB, free: 9.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002003/0.744, allocations: 0.8526 MB / 1.458 GB, free: 8.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.744, allocations: 4 kB / 1.458 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.744, allocations: 4 kB / 1.458 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/0.7446, allocations: 191 kB / 1.458 GB, free: 8.465 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.7449, allocations: 95.81 kB / 1.458 GB, free: 8.371 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.7492, allocations: 2.827 MB / 1.461 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.7498, allocations: 71.75 kB / 1.461 GB, free: 5.371 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.7498, allocations: 24 kB / 1.461 GB, free: 5.348 MB / 1.154 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.0007031/0.7505, allocations: 387.2 kB / 1.461 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.7507, allocations: 127.1 kB / 1.462 GB, free: 4.836 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.7524, allocations: 0.7668 MB / 1.462 GB, free: 4.051 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.7524, allocations: 4 kB / 1.462 GB, free: 4.047 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7524, allocations: 4 kB / 1.462 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.7524, allocations: 3.984 kB / 1.462 GB, free: 4.039 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.7552, allocations: 1.447 MB / 1.464 GB, free: 2.551 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7552, allocations: 0 / 1.464 GB, free: 2.551 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.7555, allocations: 47.95 kB / 1.464 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005696/0.756, allocations: 189.6 kB / 1.464 GB, free: 2.312 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.7561, allocations: 15.98 kB / 1.464 GB, free: 2.297 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.7614, allocations: 4.274 MB / 1.468 GB, free: 13.83 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7614, allocations: 0 / 1.468 GB, free: 13.83 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.7635, allocations: 1.076 MB / 1.469 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.7639, allocations: 151.1 kB / 1.469 GB, free: 12.58 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.764, allocations: 12 kB / 1.469 GB, free: 12.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.7643, allocations: 31.95 kB / 1.469 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.7644, allocations: 52.28 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.7645, allocations: 19.98 kB / 1.469 GB, free: 12.46 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00174/0.7662, allocations: 1.292 MB / 1.471 GB, free: 11.17 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.7662, allocations: 0 / 1.471 GB, free: 11.17 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009387/0.7672, allocations: 207.6 kB / 1.471 GB, free: 10.96 MB / 1.17 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.002105/0.7693, allocations: 0.5102 MB / 1.471 GB, free: 10.66 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.771, allocations: 0.6944 MB / 1.472 GB, free: 9.957 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.771, allocations: 0 / 1.472 GB, free: 9.957 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.7721, allocations: 0.5583 MB / 1.473 GB, free: 9.371 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7731, allocations: 198.4 kB / 1.473 GB, free: 9.195 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.7775, allocations: 2.482 MB / 1.475 GB, free: 6.672 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.7783, allocations: 0.5466 MB / 1.476 GB, free: 6.094 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.7784, allocations: 47.42 kB / 1.476 GB, free: 6.047 MB / 1.17 GB Notification: Performance of SimCode: time 1.072e-06/0.7784, allocations: 4 kB / 1.476 GB, free: 6.043 MB / 1.17 GB Notification: Performance of Templates: time 0.0307/0.8091, allocations: 18.51 MB / 1.494 GB, free: 3.555 MB / 1.186 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: 15.83684678375721]