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.0008918/0.0008918, allocations: 80.53 kB / 19.93 MB, free: 4.605 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.000827/0.000827, allocations: 181.2 kB / 23.22 MB, free: 1.316 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 0.8939/0.8939, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.79/1.79, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.262e-06/1.262e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.151e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002609/0.002631, allocations: 2.131 MB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.004963, allocations: 2.53 MB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.005072, allocations: 0 / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000963/0.006035, allocations: 497.5 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.006293, allocations: 179 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.006633, allocations: 206.4 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.006965, allocations: 411.9 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.007074, allocations: 21.28 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.007287, allocations: 187.5 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.007446, allocations: 123.6 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.007472, allocations: 12 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.0076, allocations: 67.89 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.007726, allocations: 143.4 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.007822, allocations: 103.5 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.008379, allocations: 0.6968 MB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.008382, allocations: 7.938 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.008383, allocations: 0 / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.00839, allocations: 4 kB / 1.008 GB, free: 5.641 MB / 0.9636 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.001029/0.009418, allocations: 0.8468 MB / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.009459, allocations: 13.34 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.009532, allocations: 72.47 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.009913, allocations: 406.1 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.009929, allocations: 8.312 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.009941, allocations: 384 / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.01012, allocations: 147.3 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01013, allocations: 3.938 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.01014, allocations: 4 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01014, allocations: 4 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.01022, allocations: 47.91 kB / 1.01 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.01072, allocations: 460.3 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.01098, allocations: 102.6 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.01103, allocations: 40.81 kB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.01105, allocations: 0 / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.01118, allocations: 109.1 kB / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01118, allocations: 4 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003588/0.01154, allocations: 209.2 kB / 1.01 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.01159, allocations: 81.09 kB / 1.01 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.01237, allocations: 0.9306 MB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01239, allocations: 29.69 kB / 1.011 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.01258, allocations: 327.9 kB / 1.012 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.01261, allocations: 15.86 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.01264, allocations: 25.7 kB / 1.012 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.01272, allocations: 314 kB / 1.012 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.01277, allocations: 27.98 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.01285, allocations: 122.8 kB / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.01294, allocations: 81.56 kB / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01294, allocations: 0 / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001599/0.0131, allocations: 169.2 kB / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01312, allocations: 4 kB / 1.012 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01312, allocations: 7.984 kB / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01314, allocations: 0 / 1.012 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.01319, allocations: 15.94 kB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01319, allocations: 64 / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.01327, allocations: 15.98 kB / 1.013 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.01327, allocations: 4 kB / 1.013 GB, free: 0.8047 MB / 0.9636 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.000238/0.01351, allocations: 318.4 kB / 1.013 GB, free: 496 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.01356, allocations: 75.48 kB / 1.013 GB, free: 420 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.0138, allocations: 196.1 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01381, allocations: 4 kB / 1.013 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01381, allocations: 0 / 1.013 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01381, allocations: 3.938 kB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.01405, allocations: 329 kB / 1.013 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01405, allocations: 4 kB / 1.013 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.01408, allocations: 8 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01408, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01409, allocations: 8 kB / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0141, allocations: 4.453 kB / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.0141, allocations: 192 / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.01427, allocations: 208.5 kB / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.01432, allocations: 67.47 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.01436, allocations: 8 kB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.01442, allocations: 11.97 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01446, allocations: 15.92 kB / 1.014 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.01448, allocations: 4 kB / 1.014 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005335/0.01501, allocations: 0.6902 MB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.01501, allocations: 0 / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001924/0.0152, allocations: 63.92 kB / 1.014 GB, free: 14.75 MB / 0.9792 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.0007279/0.01593, allocations: 443 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.01609, allocations: 71.95 kB / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01609, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.01615, allocations: 43.98 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.01655, allocations: 180.3 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.01778, allocations: 1.207 MB / 1.016 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.01804, allocations: 395.7 kB / 1.017 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.01808, allocations: 28.5 kB / 1.017 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of SimCode: time 6.81e-07/0.01808, allocations: 0 / 1.017 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of Templates: time 0.006677/0.02476, allocations: 7.496 MB / 1.024 GB, free: 5.078 MB / 0.9792 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: 8.156364833004773]