Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001881/0.001881, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002305/0.002305, allocations: 211.6 kB / 22.25 MB, free: 5.262 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.315/3.315, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [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.002126/0.002126, allocations: 66.81 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 181.9 MB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1846/0.5388, allocations: 138.5 MB / 1.499 GB, free: 2.633 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02876/0.5675, allocations: 19.72 MB / 1.518 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.5692, allocations: 67.44 kB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.571, allocations: 1.177 MB / 1.52 GB, free: 13.62 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.5727, allocations: 0.9107 MB / 1.52 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.5736, allocations: 386.9 kB / 1.521 GB, free: 12.32 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.5751, allocations: 1.274 MB / 1.522 GB, free: 11.04 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007546/0.5758, allocations: 0.5352 MB / 1.523 GB, free: 10.5 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.5767, allocations: 0.5802 MB / 1.523 GB, free: 9.922 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.5779, allocations: 0.9799 MB / 1.524 GB, free: 8.938 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.5781, allocations: 68 kB / 1.524 GB, free: 8.871 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.5783, allocations: 112 kB / 1.524 GB, free: 8.762 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.5786, allocations: 328.7 kB / 1.525 GB, free: 8.441 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.5791, allocations: 381.5 kB / 1.525 GB, free: 8.066 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.5806, allocations: 1.233 MB / 1.526 GB, free: 6.828 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5806, allocations: 0 / 1.526 GB, free: 6.828 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5806, allocations: 0 / 1.526 GB, free: 6.828 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5806, allocations: 0 / 1.526 GB, free: 6.828 MB / 1.217 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.002585/0.5832, allocations: 1.505 MB / 1.528 GB, free: 5.285 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5832, allocations: 8.031 kB / 1.528 GB, free: 5.277 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.5834, allocations: 144 kB / 1.528 GB, free: 5.137 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/0.5844, allocations: 0.6142 MB / 1.528 GB, free: 4.48 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.5845, allocations: 100.4 kB / 1.528 GB, free: 4.371 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.5846, allocations: 44 kB / 1.529 GB, free: 4.328 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5856, allocations: 0.5223 MB / 1.529 GB, free: 3.797 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5856, allocations: 4 kB / 1.529 GB, free: 3.793 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.5857, allocations: 23.98 kB / 1.529 GB, free: 3.77 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.5857, allocations: 12 kB / 1.529 GB, free: 3.758 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.5866, allocations: 411.7 kB / 1.529 GB, free: 3.352 MB / 1.217 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.003603/0.5902, allocations: 1.841 MB / 1.531 GB, free: 1.465 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.5913, allocations: 432.9 kB / 1.532 GB, free: 1.035 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.5919, allocations: 265.3 kB / 1.532 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.592, allocations: 12.3 kB / 1.532 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.5926, allocations: 298.8 kB / 1.532 GB, free: 472 kB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.5926, allocations: 0 / 1.532 GB, free: 472 kB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003118/0.5957, allocations: 1.11 MB / 1.533 GB, free: 15.34 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.5957, allocations: 63.39 kB / 1.533 GB, free: 15.26 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.5979, allocations: 1.755 MB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.5979, allocations: 37.7 kB / 1.535 GB, free: 13.45 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/0.5985, allocations: 0.522 MB / 1.536 GB, free: 12.93 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.5987, allocations: 150.8 kB / 1.536 GB, free: 12.78 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.5989, allocations: 98.33 kB / 1.536 GB, free: 12.68 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5991, allocations: 322 kB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.5996, allocations: 229.6 kB / 1.536 GB, free: 12.13 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.6003, allocations: 329.8 kB / 1.537 GB, free: 11.77 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6013, allocations: 0.5217 MB / 1.537 GB, free: 11.21 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6013, allocations: 0 / 1.537 GB, free: 11.21 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001828/0.6031, allocations: 0.8605 MB / 1.538 GB, free: 10.34 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6031, allocations: 8 kB / 1.538 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6032, allocations: 12.12 kB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.6037, allocations: 175.4 kB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.6041, allocations: 95.86 kB / 1.538 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.6081, allocations: 2.842 MB / 1.541 GB, free: 7.113 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.6086, allocations: 63.7 kB / 1.541 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.6086, allocations: 16 kB / 1.541 GB, free: 7.035 MB / 1.232 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.000541/0.6091, allocations: 393.4 kB / 1.542 GB, free: 6.645 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6093, allocations: 127.1 kB / 1.542 GB, free: 6.52 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.611, allocations: 0.763 MB / 1.542 GB, free: 5.734 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.611, allocations: 8 kB / 1.542 GB, free: 5.727 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.611, allocations: 4 kB / 1.542 GB, free: 5.723 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.611, allocations: 4 kB / 1.542 GB, free: 5.719 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.6137, allocations: 1.443 MB / 1.544 GB, free: 4.238 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.6137, allocations: 0 / 1.544 GB, free: 4.238 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.614, allocations: 51.91 kB / 1.544 GB, free: 4.188 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/0.6146, allocations: 189.6 kB / 1.544 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.6146, allocations: 12 kB / 1.544 GB, free: 3.984 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/0.6198, allocations: 4.265 MB / 1.548 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6198, allocations: 3.938 kB / 1.548 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6219, allocations: 1.08 MB / 1.549 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.6223, allocations: 151.2 kB / 1.549 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.6224, allocations: 16 kB / 1.549 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.6227, allocations: 31.97 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.6228, allocations: 60.31 kB / 1.55 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.6229, allocations: 16 kB / 1.55 GB, free: 14.14 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001645/0.6245, allocations: 1.284 MB / 1.551 GB, free: 12.85 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6245, allocations: 0 / 1.551 GB, free: 12.85 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000813/0.6253, allocations: 211.7 kB / 1.551 GB, free: 12.64 MB / 1.248 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.001954/0.6273, allocations: 0.4994 MB / 1.552 GB, free: 12.35 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.629, allocations: 0.7024 MB / 1.552 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.629, allocations: 4 kB / 1.552 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.63, allocations: 0.5469 MB / 1.553 GB, free: 11.06 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.631, allocations: 199.1 kB / 1.553 GB, free: 10.88 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.6351, allocations: 2.417 MB / 1.555 GB, free: 8.422 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.6357, allocations: 0.5661 MB / 1.556 GB, free: 7.824 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.636, allocations: 92.61 kB / 1.556 GB, free: 7.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.6362, allocations: 43.42 kB / 1.556 GB, free: 7.688 MB / 1.248 GB Notification: Performance of SimCode: time 5.01e-07/0.6362, allocations: 4 kB / 1.556 GB, free: 7.684 MB / 1.248 GB Notification: Performance of Templates: time 0.02352/0.6597, allocations: 12.13 MB / 1.568 GB, free: 11.75 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 10.67414390295744]