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.001255/0.001255, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00172/0.002975, allocations: 435.8 kB / 10.33 MB, free: 368 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.001098/0.001098, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002492, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.146, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.466/2.466, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2676/2.734, allocations: 145.9 MB / 0.817 GB, free: 4.219 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 2.014e-06/2.014e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.666e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003574/0.003601, allocations: 2.163 MB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.007274, allocations: 2.584 MB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.007443, allocations: 4 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.0087, allocations: 489.5 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.00892, allocations: 67.53 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.009903, allocations: 235.2 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.01042, allocations: 355.2 kB / 0.8241 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.0106, allocations: 53.12 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.01098, allocations: 238.3 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.01116, allocations: 103.7 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.01119, allocations: 8 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007537/0.01195, allocations: 363.5 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.0121, allocations: 103.5 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.01225, allocations: 91.62 kB / 0.825 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009217/0.01317, allocations: 0.5412 MB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.239e-05/0.01319, allocations: 3.938 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.435e-06/0.01319, allocations: 0 / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.01322, allocations: 0 / 0.8255 GB, free: 11.48 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.001352/0.01457, allocations: 0.8843 MB / 0.8264 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.01462, allocations: 8.031 kB / 0.8264 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.01474, allocations: 44.89 kB / 0.8264 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.01515, allocations: 326.4 kB / 0.8267 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.01517, allocations: 16.31 kB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.01519, allocations: 4.375 kB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.01536, allocations: 124 kB / 0.8269 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.01537, allocations: 3.938 kB / 0.8269 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.01538, allocations: 4 kB / 0.8269 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.01539, allocations: 4 kB / 0.8269 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/0.01544, allocations: 53.69 kB / 0.8269 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.01588, allocations: 325.6 kB / 0.8272 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.01598, allocations: 121.8 kB / 0.8274 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.01602, allocations: 50.7 kB / 0.8274 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.01606, allocations: 19.88 kB / 0.8274 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.0162, allocations: 129.6 kB / 0.8276 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.0162, allocations: 0 / 0.8276 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002353/0.01644, allocations: 214.6 kB / 0.8278 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.01649, allocations: 85.28 kB / 0.8278 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.01682, allocations: 0.5155 MB / 0.8283 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.01684, allocations: 29.7 kB / 0.8284 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.01692, allocations: 173.9 kB / 0.8285 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.01695, allocations: 27.73 kB / 0.8286 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.01699, allocations: 29.69 kB / 0.8286 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.01705, allocations: 310 kB / 0.8289 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.01709, allocations: 52.52 kB / 0.8289 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.01712, allocations: 45.77 kB / 0.829 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.01719, allocations: 115 kB / 0.8291 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01719, allocations: 4 kB / 0.8291 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001233/0.01732, allocations: 161 kB / 0.8292 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.01737, allocations: 37.69 kB / 0.8293 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01738, allocations: 0 / 0.8293 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.01739, allocations: 3.938 kB / 0.8293 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.01747, allocations: 8 kB / 0.8293 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01747, allocations: 7.938 kB / 0.8293 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.01754, allocations: 12 kB / 0.8293 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01756, allocations: 0 / 0.8293 GB, free: 7.297 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.0001036/0.01766, allocations: 154.4 kB / 0.8295 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.01769, allocations: 35.95 kB / 0.8295 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.01786, allocations: 206.5 kB / 0.8297 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01786, allocations: 0 / 0.8297 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01786, allocations: 0 / 0.8297 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01786, allocations: 3.938 kB / 0.8297 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.01803, allocations: 193.6 kB / 0.8299 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01803, allocations: 0 / 0.8299 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.01806, allocations: 15.98 kB / 0.8299 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.01812, allocations: 55.62 kB / 0.8299 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01812, allocations: 0 / 0.8299 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01813, allocations: 0 / 0.8299 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01814, allocations: 7.984 kB / 0.83 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01814, allocations: 0 / 0.83 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.01833, allocations: 222.4 kB / 0.8302 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.01836, allocations: 0 / 0.8302 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.01841, allocations: 4 kB / 0.8302 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.01846, allocations: 11.98 kB / 0.8302 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01847, allocations: 4 kB / 0.8302 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002644/0.01873, allocations: 248.6 kB / 0.8304 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01873, allocations: 0 / 0.8304 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003226/0.01905, allocations: 131.8 kB / 0.8306 GB, free: 5.945 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.0003536/0.01941, allocations: 204 kB / 0.8307 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.01956, allocations: 179.6 kB / 0.8309 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.01957, allocations: 8 kB / 0.8309 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.01964, allocations: 125.9 kB / 0.831 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01995, allocations: 161.6 kB / 0.8312 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.02458, allocations: 0.9022 MB / 0.8321 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.02469, allocations: 163.9 kB / 0.8322 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.869e-05/0.02475, allocations: 25.94 kB / 0.8323 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.02492, allocations: 133.2 kB / 0.8324 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of SimCode: time 9.71e-07/0.02492, allocations: 0 / 0.8324 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of Templates: time 0.008435/0.03336, allocations: 6.477 MB / 0.8387 GB, free: 13.63 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.563907694071531]