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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.352/3.352, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001914/0.001914, allocations: 70.61 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4624, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004425/0.4669, allocations: 2.077 MB / 1.318 GB, free: 7.605 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.4714, allocations: 2.624 MB / 1.321 GB, free: 4.969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.4716, allocations: 4 kB / 1.321 GB, free: 4.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.4731, allocations: 0.5056 MB / 1.321 GB, free: 4.457 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.4733, allocations: 75.53 kB / 1.321 GB, free: 4.383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.4743, allocations: 279.3 kB / 1.321 GB, free: 4.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.4749, allocations: 333.7 kB / 1.322 GB, free: 3.785 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.4751, allocations: 49.19 kB / 1.322 GB, free: 3.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.4753, allocations: 111.5 kB / 1.322 GB, free: 3.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.4755, allocations: 139.2 kB / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.4756, allocations: 8 kB / 1.322 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.4762, allocations: 367.4 kB / 1.322 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.4764, allocations: 107.5 kB / 1.323 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.4766, allocations: 214.5 kB / 1.323 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.4777, allocations: 0.8288 MB / 1.324 GB, free: 1.969 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4777, allocations: 0 / 1.324 GB, free: 1.969 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4777, allocations: 0 / 1.324 GB, free: 1.969 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.4778, allocations: 0 / 1.324 GB, free: 1.969 MB / 1.014 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.001357/0.4791, allocations: 0.8198 MB / 1.324 GB, free: 1.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4792, allocations: 8.031 kB / 1.324 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.4793, allocations: 72.47 kB / 1.324 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.4799, allocations: 335 kB / 1.325 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4799, allocations: 8.375 kB / 1.325 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.4799, allocations: 8.375 kB / 1.325 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.4802, allocations: 135.7 kB / 1.325 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4802, allocations: 0 / 1.325 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4803, allocations: 4 kB / 1.325 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4803, allocations: 4 kB / 1.325 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.4804, allocations: 91.94 kB / 1.325 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.4813, allocations: 0.5113 MB / 1.325 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4815, allocations: 98.47 kB / 1.326 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.4816, allocations: 60.91 kB / 1.326 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.4817, allocations: 8.188 kB / 1.326 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.4819, allocations: 136.9 kB / 1.326 GB, free: 15.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.4819, allocations: 0 / 1.326 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000595/0.4825, allocations: 318.8 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.4826, allocations: 85.11 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.4837, allocations: 0.7935 MB / 1.327 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.4837, allocations: 25.7 kB / 1.327 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/0.4841, allocations: 288.3 kB / 1.327 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.4841, allocations: 27.75 kB / 1.327 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.4842, allocations: 29.7 kB / 1.327 GB, free: 13.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4844, allocations: 310 kB / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.4845, allocations: 51.97 kB / 1.328 GB, free: 13.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.4846, allocations: 47.97 kB / 1.328 GB, free: 13.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.4848, allocations: 152.2 kB / 1.328 GB, free: 13.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4848, allocations: 0 / 1.328 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003937/0.4852, allocations: 275.2 kB / 1.328 GB, free: 13.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.4853, allocations: 37.69 kB / 1.328 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4853, allocations: 0 / 1.328 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4853, allocations: 4 kB / 1.328 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.4854, allocations: 4 kB / 1.328 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.4854, allocations: 4 kB / 1.328 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4855, allocations: 19.88 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.4855, allocations: 4 kB / 1.328 GB, free: 13 MB / 1.029 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.000381/0.4859, allocations: 341.4 kB / 1.328 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.486, allocations: 71.52 kB / 1.329 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.4865, allocations: 304.8 kB / 1.329 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4865, allocations: 0 / 1.329 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4865, allocations: 0 / 1.329 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4865, allocations: 3.938 kB / 1.329 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.487, allocations: 348.5 kB / 1.329 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.487, allocations: 7.938 kB / 1.329 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.487, allocations: 11.98 kB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.487, allocations: 0 / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.487, allocations: 8 kB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.487, allocations: 0 / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.487, allocations: 0 / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.4875, allocations: 322.2 kB / 1.33 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4877, allocations: 71.44 kB / 1.33 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.4877, allocations: 12 kB / 1.33 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.4878, allocations: 7.984 kB / 1.33 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.4879, allocations: 4.188 kB / 1.33 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4879, allocations: 11.98 kB / 1.33 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007808/0.4887, allocations: 0.5848 MB / 1.33 GB, free: 10.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4887, allocations: 0 / 1.33 GB, free: 10.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005022/0.4892, allocations: 119.9 kB / 1.33 GB, free: 10.71 MB / 1.029 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.0004514/0.4897, allocations: 199.5 kB / 1.331 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.49, allocations: 175.3 kB / 1.331 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.49, allocations: 0 / 1.331 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.4902, allocations: 115.4 kB / 1.331 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.4908, allocations: 127.2 kB / 1.331 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4926, allocations: 1.092 MB / 1.332 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/0.4934, allocations: 0.9782 MB / 1.333 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.798e-05/0.4935, allocations: 25.95 kB / 1.333 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.4935, allocations: 19.44 kB / 1.333 GB, free: 7.906 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4935, allocations: 3.938 kB / 1.333 GB, free: 7.902 MB / 1.029 GB Notification: Performance of Templates: time 0.01341/0.5069, allocations: 5.614 MB / 1.338 GB, free: 2.379 MB / 1.029 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 -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/jenkins/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: 10.106614699587226]