Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001367/0.001367, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001465/0.001465, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.052/3.052, allocations: 0.49 GB / 0.7923 GB, free: 1.449 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002118/0.002118, allocations: 71.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9995/1.002, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002931/1.005, allocations: 2.069 MB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002655/1.007, allocations: 2.646 MB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/1.007, allocations: 2.75 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/1.008, allocations: 0.5059 MB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/1.009, allocations: 75.56 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/1.009, allocations: 273.3 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/1.01, allocations: 322.5 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/1.01, allocations: 70.3 kB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/1.01, allocations: 113.6 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/1.01, allocations: 137 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/1.01, allocations: 7.781 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/1.011, allocations: 331.6 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/1.011, allocations: 111.5 kB / 1.328 GB, free: 20.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/1.011, allocations: 212.7 kB / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/1.012, allocations: 0.8167 MB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.012, allocations: 0.7812 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/1.012, allocations: 4 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.017e-06/1.012, allocations: 0.6875 kB / 1.329 GB, free: 20.57 MB / 1.061 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.001015/1.013, allocations: 0.9018 MB / 1.33 GB, free: 19.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/1.013, allocations: 12.89 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/1.013, allocations: 67.39 kB / 1.33 GB, free: 19.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/1.014, allocations: 391.6 kB / 1.331 GB, free: 19.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.014, allocations: 8.031 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.014, allocations: 9.781 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/1.014, allocations: 139.6 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.014, allocations: 0 / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.014, allocations: 1.688 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.014, allocations: 2.031 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/1.014, allocations: 106.1 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/1.015, allocations: 0.5526 MB / 1.332 GB, free: 18.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/1.015, allocations: 92.03 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/1.015, allocations: 55.8 kB / 1.332 GB, free: 18.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/1.015, allocations: 7.094 kB / 1.332 GB, free: 18.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/1.015, allocations: 135.8 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/1.015, allocations: 0 / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004979/1.016, allocations: 314.9 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.016, allocations: 81.59 kB / 1.332 GB, free: 18.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/1.017, allocations: 0.7937 MB / 1.333 GB, free: 18.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.017, allocations: 30.92 kB / 1.333 GB, free: 18.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/1.017, allocations: 294.9 kB / 1.333 GB, free: 17.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/1.017, allocations: 25.25 kB / 1.333 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/1.017, allocations: 27.64 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/1.017, allocations: 312.3 kB / 1.334 GB, free: 17.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/1.017, allocations: 42.28 kB / 1.334 GB, free: 17.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/1.017, allocations: 47.94 kB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/1.018, allocations: 169.2 kB / 1.334 GB, free: 17.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.018, allocations: 0 / 1.334 GB, free: 17.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003442/1.018, allocations: 270 kB / 1.334 GB, free: 17.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.018, allocations: 41.64 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.018, allocations: 0 / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.018, allocations: 0.625 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/1.018, allocations: 8.188 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.018, allocations: 1.406 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/1.018, allocations: 15.56 kB / 1.334 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/1.018, allocations: 3.094 kB / 1.334 GB, free: 17.32 MB / 1.061 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.0003487/1.019, allocations: 342.5 kB / 1.335 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/1.019, allocations: 75.36 kB / 1.335 GB, free: 17.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/1.019, allocations: 302.1 kB / 1.335 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.019, allocations: 1.719 kB / 1.335 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.019, allocations: 0 / 1.335 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.019, allocations: 1.281 kB / 1.335 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/1.02, allocations: 374 kB / 1.335 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.02, allocations: 4.594 kB / 1.335 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/1.02, allocations: 6.547 kB / 1.335 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.02, allocations: 8.438 kB / 1.335 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/1.02, allocations: 3.859 kB / 1.335 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.02, allocations: 1.75 kB / 1.335 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.02, allocations: 0 / 1.335 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/1.02, allocations: 329.2 kB / 1.336 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/1.021, allocations: 154.7 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/1.021, allocations: 3.406 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/1.021, allocations: 5.766 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/1.021, allocations: 13.14 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.021, allocations: 6.297 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007015/1.021, allocations: 0.5831 MB / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.021, allocations: 0 / 1.336 GB, free: 16.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005089/1.022, allocations: 124 kB / 1.336 GB, free: 16.08 MB / 1.061 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.0003632/1.022, allocations: 186.5 kB / 1.337 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002703/1.023, allocations: 177.6 kB / 1.337 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/1.023, allocations: 5.375 kB / 1.337 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/1.023, allocations: 112.9 kB / 1.337 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/1.023, allocations: 126.4 kB / 1.337 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/1.025, allocations: 1.152 MB / 1.338 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/1.025, allocations: 0.9814 MB / 1.339 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/1.025, allocations: 17.94 kB / 1.339 GB, free: 14.41 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/1.025, allocations: 0 / 1.339 GB, free: 14.41 MB / 1.061 GB Notification: Performance of Templates: time 0.01286/1.038, allocations: 6.764 MB / 1.346 GB, free: 13.58 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.369921938996413]