Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001643/0.001643, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001979/0.001979, allocations: 159.3 kB / 23.01 MB, free: 4.598 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.988 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 2.94/2.94, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [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.002166/0.002166, allocations: 75.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8324, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002869/0.8353, allocations: 2.03 MB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.8383, allocations: 2.358 MB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.8384, allocations: 2.281 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.8396, allocations: 463.1 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.8397, allocations: 71.36 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.8406, allocations: 273.3 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.841, allocations: 330.3 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.8411, allocations: 41.38 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.8412, allocations: 109.8 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.8415, allocations: 138 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.8415, allocations: 11.28 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006066/0.8421, allocations: 338.9 kB / 1.193 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.8422, allocations: 103.5 kB / 1.193 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.8424, allocations: 144.7 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.8435, allocations: 0.8338 MB / 1.194 GB, free: 12.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8435, allocations: 0 / 1.194 GB, free: 12.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8435, allocations: 0 / 1.194 GB, free: 12.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8435, allocations: 1.766 kB / 1.194 GB, free: 12.29 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00101/0.8445, allocations: 0.8162 MB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.8445, allocations: 9.344 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.8446, allocations: 75.66 kB / 1.195 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.845, allocations: 333.3 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.845, allocations: 12.09 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.845, allocations: 5.375 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.8453, allocations: 166.1 kB / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8453, allocations: 0 / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.8453, allocations: 5.25 kB / 1.195 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.8453, allocations: 3.5 kB / 1.195 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.8455, allocations: 124.9 kB / 1.195 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.8461, allocations: 467 kB / 1.196 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.8463, allocations: 128.3 kB / 1.196 GB, free: 10.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.8464, allocations: 85.02 kB / 1.196 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.8464, allocations: 5.984 kB / 1.196 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.8466, allocations: 178.5 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.8466, allocations: 0 / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0004719/0.8471, allocations: 370.7 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.8471, allocations: 85.25 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.848, allocations: 0.758 MB / 1.197 GB, free: 10.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.848, allocations: 27.3 kB / 1.197 GB, free: 9.977 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.8482, allocations: 300 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.8482, allocations: 30.25 kB / 1.197 GB, free: 9.715 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.8482, allocations: 26.77 kB / 1.198 GB, free: 9.695 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.8483, allocations: 312.9 kB / 1.198 GB, free: 9.387 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.8484, allocations: 76.14 kB / 1.198 GB, free: 9.344 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.8485, allocations: 84.03 kB / 1.198 GB, free: 9.293 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.8486, allocations: 158.7 kB / 1.198 GB, free: 9.191 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8486, allocations: 1.094 kB / 1.198 GB, free: 9.191 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003103/0.8489, allocations: 309.1 kB / 1.198 GB, free: 9.016 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.849, allocations: 41.02 kB / 1.198 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.849, allocations: 0 / 1.198 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.849, allocations: 5.062 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.8491, allocations: 7.781 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8491, allocations: 1.797 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.8492, allocations: 12.55 kB / 1.198 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.8492, allocations: 4.938 kB / 1.198 GB, free: 8.969 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0002763/0.8495, allocations: 338.6 kB / 1.199 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.8495, allocations: 69.94 kB / 1.199 GB, free: 8.723 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.8499, allocations: 333.1 kB / 1.199 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8499, allocations: 1.188 kB / 1.199 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.8499, allocations: 4.562 kB / 1.199 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.85, allocations: 2.141 kB / 1.199 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.8503, allocations: 312.5 kB / 1.2 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8503, allocations: 0 / 1.2 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.8503, allocations: 15.19 kB / 1.2 GB, free: 8.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8503, allocations: 1.125 kB / 1.2 GB, free: 8.344 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8504, allocations: 6.672 kB / 1.2 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8504, allocations: 2.062 kB / 1.2 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8504, allocations: 0 / 1.2 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.8507, allocations: 336.5 kB / 1.2 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.8508, allocations: 64.34 kB / 1.2 GB, free: 8.098 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.8509, allocations: 15.22 kB / 1.2 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.851, allocations: 5.938 kB / 1.2 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.851, allocations: 13.14 kB / 1.2 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.851, allocations: 4.547 kB / 1.2 GB, free: 8.078 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006072/0.8516, allocations: 0.5663 MB / 1.2 GB, free: 7.855 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8516, allocations: 0 / 1.2 GB, free: 7.855 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004746/0.8521, allocations: 131.6 kB / 1.201 GB, free: 7.836 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003023/0.8524, allocations: 191 kB / 1.201 GB, free: 7.723 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.8527, allocations: 243.4 kB / 1.201 GB, free: 7.559 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8527, allocations: 0 / 1.201 GB, free: 7.559 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.8528, allocations: 151.8 kB / 1.201 GB, free: 7.445 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.8534, allocations: 118.1 kB / 1.201 GB, free: 7.402 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.8549, allocations: 1.123 MB / 1.202 GB, free: 6.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.8553, allocations: 373.3 kB / 1.203 GB, free: 6.695 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.374e-05/0.8554, allocations: 28.33 kB / 1.203 GB, free: 6.688 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.8554, allocations: 17.06 kB / 1.203 GB, free: 6.676 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.8554, allocations: 0 / 1.203 GB, free: 6.676 MB / 1.076 GB Notification: Performance of Templates: time 0.01273/0.8681, allocations: 5.63 MB / 1.208 GB, free: 5.992 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.876061444054358]