Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002044/0.002044, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002608/0.002608, allocations: 164.2 kB / 22.46 MB, free: 5.355 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.58/1.58, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.753/2.753, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.268e-05, allocations: 6.219 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004092/0.004124, allocations: 2.015 MB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003991/0.008116, allocations: 2.374 MB / 0.9553 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.008238, allocations: 0 / 0.9553 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.009651, allocations: 465.7 kB / 0.9557 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.009816, allocations: 79.47 kB / 0.9558 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009794/0.0108, allocations: 275.2 kB / 0.9561 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.01135, allocations: 337.7 kB / 0.9564 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.01153, allocations: 45.25 kB / 0.9564 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.01176, allocations: 151.6 kB / 0.9566 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.01199, allocations: 115.7 kB / 0.9567 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.01203, allocations: 8 kB / 0.9567 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.0127, allocations: 335.3 kB / 0.957 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.01286, allocations: 111.5 kB / 0.9571 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.01303, allocations: 99.55 kB / 0.9572 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.0142, allocations: 0.849 MB / 0.9581 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01421, allocations: 0 / 0.9581 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01421, allocations: 0 / 0.9581 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.01422, allocations: 3.938 kB / 0.9581 GB, free: 4.289 MB / 0.8575 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.001455/0.01568, allocations: 0.8158 MB / 0.9589 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.01572, allocations: 8.031 kB / 0.9589 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.01583, allocations: 68.52 kB / 0.9589 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.01646, allocations: 334.3 kB / 0.9593 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.01648, allocations: 8.375 kB / 0.9593 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.01651, allocations: 8.312 kB / 0.9593 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.01682, allocations: 160.4 kB / 0.9594 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01683, allocations: 7.938 kB / 0.9594 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.01685, allocations: 4 kB / 0.9594 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01686, allocations: 4 kB / 0.9594 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.01706, allocations: 129.6 kB / 0.9596 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.01785, allocations: 468.1 kB / 0.96 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.01806, allocations: 124.2 kB / 0.9601 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01817, allocations: 82.77 kB / 0.9602 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.01822, allocations: 19.91 kB / 0.9602 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.01847, allocations: 162.8 kB / 0.9604 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.01847, allocations: 0 / 0.9604 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0006246/0.0191, allocations: 378.2 kB / 0.9607 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.01917, allocations: 89.11 kB / 0.9608 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/0.02014, allocations: 0.7543 MB / 0.9616 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.02016, allocations: 33.64 kB / 0.9616 GB, free: 468 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.0205, allocations: 295.9 kB / 0.9619 GB, free: 168 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.02054, allocations: 27.84 kB / 0.9619 GB, free: 140 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.02061, allocations: 25.67 kB / 0.9619 GB, free: 108 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.02082, allocations: 318 kB / 0.9622 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.02093, allocations: 73.67 kB / 0.9623 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.02104, allocations: 81.67 kB / 0.9624 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.02127, allocations: 156.2 kB / 0.9625 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02127, allocations: 0 / 0.9625 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004212/0.02169, allocations: 308.6 kB / 0.9628 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.02174, allocations: 33.7 kB / 0.9629 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.02174, allocations: 0 / 0.9629 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.02176, allocations: 3.938 kB / 0.9629 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.02185, allocations: 19.92 kB / 0.9629 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.02186, allocations: 0 / 0.9629 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.02198, allocations: 11.89 kB / 0.9629 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.02201, allocations: 4 kB / 0.9629 GB, free: 15.06 MB / 0.8731 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.0003896/0.0224, allocations: 339.3 kB / 0.9632 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.02248, allocations: 67.58 kB / 0.9633 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.02299, allocations: 330.6 kB / 0.9636 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.02299, allocations: 3.938 kB / 0.9636 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.023, allocations: 8.062 kB / 0.9636 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.023, allocations: 3.938 kB / 0.9636 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.02341, allocations: 309.1 kB / 0.9639 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.02341, allocations: 3.938 kB / 0.9639 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.02345, allocations: 4 kB / 0.9639 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.02345, allocations: 0 / 0.9639 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.02347, allocations: 4 kB / 0.9639 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.02347, allocations: 0 / 0.9639 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.02347, allocations: 3.938 kB / 0.9639 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.02396, allocations: 351.9 kB / 0.9643 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.0241, allocations: 63.56 kB / 0.9643 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.02416, allocations: 8 kB / 0.9643 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.02427, allocations: 4 kB / 0.9643 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.02433, allocations: 11.92 kB / 0.9643 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.02435, allocations: 4 kB / 0.9643 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007944/0.02514, allocations: 0.5614 MB / 0.9649 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02514, allocations: 0 / 0.9649 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005206/0.02566, allocations: 135.7 kB / 0.965 GB, free: 12.78 MB / 0.8731 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.0005098/0.02617, allocations: 205.8 kB / 0.9652 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.02658, allocations: 242.7 kB / 0.9654 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02659, allocations: 0 / 0.9654 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.02678, allocations: 153 kB / 0.9656 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.02735, allocations: 129.3 kB / 0.9657 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.02929, allocations: 1.101 MB / 0.9668 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.02976, allocations: 378.5 kB / 0.9672 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.872e-05/0.02986, allocations: 29.89 kB / 0.9672 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.0299, allocations: 16.5 kB / 0.9672 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.0299, allocations: 0 / 0.9672 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.01343/0.04333, allocations: 5.574 MB / 0.9726 GB, free: 5.012 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.807347990572453]