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.0007303/0.0007303, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001773, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006941/0.0006941, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009298/0.001624, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9029/0.9029, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07725/0.9801, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.309/2.309, allocations: 447.1 MB / 0.675 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2429/2.552, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 4.539e-06/4.539e-06, allocations: 4 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.809e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003908/0.003936, allocations: 2.16 MB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.006966, allocations: 2.58 MB / 0.8236 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.007109, allocations: 7.938 kB / 0.8236 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.008169, allocations: 489.5 kB / 0.8241 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.008307, allocations: 79.52 kB / 0.8241 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.008999, allocations: 235.2 kB / 0.8244 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.009384, allocations: 346.1 kB / 0.8247 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.009522, allocations: 57.14 kB / 0.8248 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.00981, allocations: 234.3 kB / 0.825 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.009941, allocations: 103.7 kB / 0.8251 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.009964, allocations: 8 kB / 0.8251 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.0105, allocations: 367.4 kB / 0.8254 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.01062, allocations: 103.5 kB / 0.8255 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.01073, allocations: 91.62 kB / 0.8256 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.01142, allocations: 0.5334 MB / 0.8261 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.01143, allocations: 0 / 0.8261 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.853e-06/0.01144, allocations: 8 kB / 0.8261 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.01145, allocations: 0 / 0.8261 GB, free: 11.02 MB / 0.8073 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.0009687/0.01242, allocations: 0.8882 MB / 0.827 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01246, allocations: 8.031 kB / 0.827 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.01252, allocations: 44.88 kB / 0.8271 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.01281, allocations: 318.4 kB / 0.8274 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.01283, allocations: 8.375 kB / 0.8274 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.01284, allocations: 12.31 kB / 0.8274 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.013, allocations: 126.2 kB / 0.8275 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.01301, allocations: 3.938 kB / 0.8275 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.01302, allocations: 4 kB / 0.8275 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.01302, allocations: 4 kB / 0.8275 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.01308, allocations: 61.67 kB / 0.8276 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.01348, allocations: 321.6 kB / 0.8279 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.01357, allocations: 121.8 kB / 0.828 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.0136, allocations: 42.56 kB / 0.828 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.01364, allocations: 11.98 kB / 0.8281 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.01376, allocations: 145.7 kB / 0.8282 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.01376, allocations: 0 / 0.8282 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001952/0.01396, allocations: 226.4 kB / 0.8284 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.01401, allocations: 166.4 kB / 0.8286 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.01432, allocations: 0.5039 MB / 0.8291 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.01434, allocations: 33.7 kB / 0.8291 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.01442, allocations: 177.8 kB / 0.8293 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.01445, allocations: 31.69 kB / 0.8293 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.01448, allocations: 25.69 kB / 0.8293 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.01455, allocations: 314 kB / 0.8296 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.01459, allocations: 48.52 kB / 0.8297 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.01462, allocations: 41.7 kB / 0.8297 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.834e-05/0.01469, allocations: 111 kB / 0.8298 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01469, allocations: 4 kB / 0.8298 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001154/0.0148, allocations: 165 kB / 0.83 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/0.01484, allocations: 37.69 kB / 0.83 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01484, allocations: 0 / 0.83 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01486, allocations: 0 / 0.83 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.01492, allocations: 15.94 kB / 0.83 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.01492, allocations: 3.938 kB / 0.83 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.01499, allocations: 8 kB / 0.83 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.015, allocations: 4 kB / 0.83 GB, free: 6.738 MB / 0.8073 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.0001057/0.0151, allocations: 157.5 kB / 0.8302 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.01514, allocations: 39.95 kB / 0.8302 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.01531, allocations: 202.6 kB / 0.8304 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01531, allocations: 0 / 0.8304 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01531, allocations: 0 / 0.8304 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01532, allocations: 3.938 kB / 0.8304 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.01547, allocations: 189.6 kB / 0.8306 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01548, allocations: 8.062 kB / 0.8306 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.0155, allocations: 8 kB / 0.8306 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.01556, allocations: 55.61 kB / 0.8307 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01556, allocations: 0 / 0.8307 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01557, allocations: 8 kB / 0.8307 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01557, allocations: 0 / 0.8307 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01558, allocations: 0 / 0.8307 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01572, allocations: 226.5 kB / 0.8309 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.01575, allocations: 4 kB / 0.8309 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.0158, allocations: 0 / 0.8309 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.01583, allocations: 15.92 kB / 0.8309 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01584, allocations: 4 kB / 0.8309 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001727/0.01602, allocations: 240.6 kB / 0.8311 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01602, allocations: 0 / 0.8311 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000275/0.01629, allocations: 131.8 kB / 0.8313 GB, free: 5.391 MB / 0.8073 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.0002963/0.01659, allocations: 212 kB / 0.8315 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01674, allocations: 183.7 kB / 0.8316 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.01675, allocations: 11.98 kB / 0.8317 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.01682, allocations: 125.9 kB / 0.8318 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.01739, allocations: 1.186 MB / 0.8329 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.02186, allocations: 0.8962 MB / 0.8338 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.02196, allocations: 163.9 kB / 0.834 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.901e-05/0.02204, allocations: 21.94 kB / 0.834 GB, free: 2.242 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.02222, allocations: 129.3 kB / 0.8341 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.02222, allocations: 4 kB / 0.8341 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of Templates: time 0.01074/0.03295, allocations: 6.517 MB / 0.8405 GB, free: 11.76 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.102177701890469]