Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001754/0.001754, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.00226/0.00226, allocations: 167.9 kB / 22.46 MB, free: 5.359 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.606/1.606, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.12/3.12, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 1 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.086e-05, allocations: 2.281 kB / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004311/0.004352, allocations: 2.147 MB / 1.002 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.008653, allocations: 2.53 MB / 1.005 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.008879, allocations: 7.938 kB / 1.005 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.01048, allocations: 493.5 kB / 1.005 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.01093, allocations: 175.1 kB / 1.005 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.01155, allocations: 206.1 kB / 1.006 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.01214, allocations: 409.9 kB / 1.006 GB, free: 220 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.01227, allocations: 29.27 kB / 1.006 GB, free: 184 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.01255, allocations: 183.5 kB / 1.006 GB, free: 0 / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.01283, allocations: 119.6 kB / 1.006 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.01288, allocations: 8 kB / 1.006 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.01311, allocations: 71.89 kB / 1.006 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.01332, allocations: 143.4 kB / 1.006 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.0135, allocations: 107.5 kB / 1.007 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.01445, allocations: 0.693 MB / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.01445, allocations: 4 kB / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01445, allocations: 0 / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.01447, allocations: 0 / 1.007 GB, free: 14.86 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001538/0.01601, allocations: 0.8584 MB / 1.008 GB, free: 13.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.01605, allocations: 12.03 kB / 1.008 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.01616, allocations: 72.47 kB / 1.008 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.01677, allocations: 398.2 kB / 1.009 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01678, allocations: 8.375 kB / 1.009 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.0168, allocations: 4.312 kB / 1.009 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.0171, allocations: 155.3 kB / 1.009 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01711, allocations: 3.938 kB / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.01713, allocations: 0 / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.01713, allocations: 0 / 1.009 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.01727, allocations: 43.97 kB / 1.009 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.01808, allocations: 460.3 kB / 1.009 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.01851, allocations: 106.6 kB / 1.009 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.0186, allocations: 32.84 kB / 1.009 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01862, allocations: 4 kB / 1.009 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.01885, allocations: 117.1 kB / 1.009 GB, free: 12.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.01885, allocations: 0 / 1.009 GB, free: 12.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004819/0.01934, allocations: 205.2 kB / 1.01 GB, free: 12.26 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.0194, allocations: 81.09 kB / 1.01 GB, free: 12.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.02064, allocations: 0.9306 MB / 1.011 GB, free: 11.21 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.02067, allocations: 29.7 kB / 1.011 GB, free: 11.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.02106, allocations: 320 kB / 1.011 GB, free: 10.86 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.02109, allocations: 23.8 kB / 1.011 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.02116, allocations: 25.7 kB / 1.011 GB, free: 10.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.02133, allocations: 314 kB / 1.011 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.02142, allocations: 35.92 kB / 1.011 GB, free: 10.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.02157, allocations: 118.8 kB / 1.011 GB, free: 10.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.02176, allocations: 73.62 kB / 1.012 GB, free: 10.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02176, allocations: 0 / 1.012 GB, free: 10.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003177/0.02208, allocations: 173.1 kB / 1.012 GB, free: 10.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.0221, allocations: 10.17 kB / 1.012 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.02212, allocations: 4 kB / 1.012 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.02214, allocations: 8.062 kB / 1.012 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.02223, allocations: 12 kB / 1.012 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.02224, allocations: 0.5781 kB / 1.012 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.02238, allocations: 15.92 kB / 1.012 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.02239, allocations: 3.938 kB / 1.012 GB, free: 10.02 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004057/0.02279, allocations: 319.4 kB / 1.012 GB, free: 9.695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.02288, allocations: 75.52 kB / 1.012 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.02332, allocations: 196.1 kB / 1.012 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02333, allocations: 0 / 1.012 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.02333, allocations: 8 kB / 1.012 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02334, allocations: 3.984 kB / 1.012 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.02379, allocations: 333 kB / 1.013 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.02379, allocations: 0 / 1.013 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.02385, allocations: 11.94 kB / 1.013 GB, free: 9.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.02386, allocations: 0 / 1.013 GB, free: 9.043 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.02387, allocations: 7.984 kB / 1.013 GB, free: 9.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.02387, allocations: 0 / 1.013 GB, free: 9.035 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02388, allocations: 0 / 1.013 GB, free: 9.035 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.02424, allocations: 208.5 kB / 1.013 GB, free: 8.812 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.02435, allocations: 67.47 kB / 1.013 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.02441, allocations: 8 kB / 1.013 GB, free: 8.738 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.02454, allocations: 7.984 kB / 1.013 GB, free: 8.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.02461, allocations: 7.984 kB / 1.013 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.02463, allocations: 7.938 kB / 1.013 GB, free: 8.715 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000936/0.02557, allocations: 0.6864 MB / 1.014 GB, free: 8.035 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.02557, allocations: 0 / 1.014 GB, free: 8.035 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000329/0.0259, allocations: 63.92 kB / 1.014 GB, free: 7.973 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/0.02771, allocations: 444.2 kB / 1.014 GB, free: 7.711 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.02798, allocations: 79.94 kB / 1.014 GB, free: 7.633 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02798, allocations: 0 / 1.014 GB, free: 7.633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.02809, allocations: 39.92 kB / 1.014 GB, free: 7.594 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.02887, allocations: 184.5 kB / 1.014 GB, free: 7.418 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.03091, allocations: 1.143 MB / 1.016 GB, free: 6.246 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.03138, allocations: 391.7 kB / 1.016 GB, free: 5.836 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.03154, allocations: 51.25 kB / 1.016 GB, free: 5.785 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.03161, allocations: 28.5 kB / 1.016 GB, free: 5.758 MB / 0.92 GB Notification: Performance of SimCode: time 4.6e-07/0.03161, allocations: 0 / 1.016 GB, free: 5.758 MB / 0.92 GB Notification: Performance of Templates: time 0.01413/0.04574, allocations: 6.401 MB / 1.022 GB, free: 15.51 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 9.127822659909725]