Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001501/0.001501, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001875/0.001875, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.959/2.959, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.965e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004607/0.004636, allocations: 2.132 MB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004746/0.009383, allocations: 2.53 MB / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.009595, allocations: 0 / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.01131, allocations: 0.4927 MB / 0.8159 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.01187, allocations: 165.2 kB / 0.816 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.01254, allocations: 204.3 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.01321, allocations: 411.9 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.01335, allocations: 29.27 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.01375, allocations: 185.8 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.01402, allocations: 123.6 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.01407, allocations: 12 kB / 0.817 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.0143, allocations: 67.89 kB / 0.817 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.0145, allocations: 135.5 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.01471, allocations: 108.7 kB / 0.8173 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.01574, allocations: 0.6969 MB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01575, allocations: 3.938 kB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01575, allocations: 0.5 kB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.01577, allocations: 0 / 0.8179 GB, free: 10.8 MB / 0.7761 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.001846/0.01761, allocations: 0.8559 MB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.01766, allocations: 12.03 kB / 0.8188 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.01783, allocations: 73.31 kB / 0.8189 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.01855, allocations: 406.2 kB / 0.8192 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.01858, allocations: 7.875 kB / 0.8193 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.0186, allocations: 4.375 kB / 0.8193 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.01891, allocations: 151.3 kB / 0.8194 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01893, allocations: 3.938 kB / 0.8194 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.01895, allocations: 4 kB / 0.8194 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.01895, allocations: 0 / 0.8194 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.01912, allocations: 47.91 kB / 0.8195 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.02004, allocations: 460.3 kB / 0.8199 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.0205, allocations: 108.7 kB / 0.82 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.02061, allocations: 32.84 kB / 0.82 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.02063, allocations: 0 / 0.82 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.02086, allocations: 121 kB / 0.8201 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.02086, allocations: 1.031 kB / 0.8201 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005405/0.0214, allocations: 205.1 kB / 0.8203 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/0.02149, allocations: 82.19 kB / 0.8204 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.0229, allocations: 0.9267 MB / 0.8213 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.02293, allocations: 33.69 kB / 0.8214 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.02329, allocations: 317.1 kB / 0.8217 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.02333, allocations: 23.8 kB / 0.8217 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.0234, allocations: 29.7 kB / 0.8217 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.02358, allocations: 307.1 kB / 0.822 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.521e-05/0.02368, allocations: 27.98 kB / 0.822 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.02385, allocations: 122.8 kB / 0.8221 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.02404, allocations: 86.8 kB / 0.8222 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.02404, allocations: 1.688 kB / 0.8222 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003909/0.02443, allocations: 177.1 kB / 0.8224 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.02445, allocations: 4 kB / 0.8224 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.02446, allocations: 3.984 kB / 0.8224 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.02448, allocations: 0.5 kB / 0.8224 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.02457, allocations: 13.34 kB / 0.8224 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.02458, allocations: 4 kB / 0.8224 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.02473, allocations: 7.984 kB / 0.8224 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.02473, allocations: 4.656 kB / 0.8224 GB, free: 5.973 MB / 0.7761 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.000403/0.02514, allocations: 322.2 kB / 0.8227 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.02525, allocations: 75.52 kB / 0.8228 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.0257, allocations: 188.7 kB / 0.823 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.02571, allocations: 6.219 kB / 0.823 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.02572, allocations: 7.938 kB / 0.823 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.02572, allocations: 0 / 0.823 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.02621, allocations: 337 kB / 0.8233 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02621, allocations: 0 / 0.8233 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.02629, allocations: 8 kB / 0.8233 GB, free: 5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.02629, allocations: 2 kB / 0.8233 GB, free: 5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.02631, allocations: 7.984 kB / 0.8233 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.02631, allocations: 0 / 0.8233 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02631, allocations: 0 / 0.8233 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.02671, allocations: 216.5 kB / 0.8236 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.02683, allocations: 65.03 kB / 0.8236 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.02689, allocations: 4 kB / 0.8236 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.02703, allocations: 7.984 kB / 0.8236 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.0271, allocations: 7.984 kB / 0.8236 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.02712, allocations: 12.06 kB / 0.8236 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00103/0.02815, allocations: 0.6864 MB / 0.8243 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02815, allocations: 0 / 0.8243 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000347/0.0285, allocations: 63.92 kB / 0.8244 GB, free: 3.926 MB / 0.7761 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.002124/0.03062, allocations: 448.3 kB / 0.8248 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.03089, allocations: 75.91 kB / 0.8249 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0309, allocations: 0 / 0.8249 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.03101, allocations: 43.97 kB / 0.8249 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.03181, allocations: 184.7 kB / 0.8251 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.0341, allocations: 1.17 MB / 0.8262 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.03468, allocations: 395.6 kB / 0.8266 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.03487, allocations: 46.97 kB / 0.8267 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.03496, allocations: 32.48 kB / 0.8267 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.03496, allocations: 4 kB / 0.8267 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of Templates: time 0.01524/0.0502, allocations: 6.423 MB / 0.833 GB, free: 11.43 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.439819755032659]