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.0008074/0.0008074, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007828/0.0007828, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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.8962/0.8962, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.656/1.656, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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 1.713e-06/1.713e-06, allocations: 0 / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.243e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002728/0.00276, allocations: 2.023 MB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.005234, allocations: 2.355 MB / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.005353, allocations: 4 kB / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.00641, allocations: 473.7 kB / 0.9565 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.006553, allocations: 75.53 kB / 0.9566 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.007394, allocations: 277.5 kB / 0.9568 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.008173, allocations: 342.2 kB / 0.9572 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.008318, allocations: 41.27 kB / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.00848, allocations: 155.5 kB / 0.9573 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.008636, allocations: 107.7 kB / 0.9575 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.008659, allocations: 8 kB / 0.9575 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.009114, allocations: 327.5 kB / 0.9578 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.009228, allocations: 111.4 kB / 0.9579 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.009354, allocations: 107.6 kB / 0.958 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.01017, allocations: 0.8528 MB / 0.9588 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01017, allocations: 0 / 0.9588 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01018, allocations: 0 / 0.9588 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.01019, allocations: 4 kB / 0.9588 GB, free: 11.68 MB / 0.9167 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.0009558/0.01114, allocations: 0.8235 MB / 0.9596 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.01118, allocations: 8.031 kB / 0.9596 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.01127, allocations: 68.52 kB / 0.9597 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.01168, allocations: 334.4 kB / 0.96 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.0117, allocations: 8.375 kB / 0.96 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.01171, allocations: 4.375 kB / 0.96 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.01194, allocations: 162.3 kB / 0.9602 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01195, allocations: 7.938 kB / 0.9602 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.01196, allocations: 4 kB / 0.9602 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.01197, allocations: 4 kB / 0.9602 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.01209, allocations: 129.6 kB / 0.9603 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.01267, allocations: 468.1 kB / 0.9608 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.01281, allocations: 124.2 kB / 0.9609 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.01288, allocations: 86.67 kB / 0.961 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.01292, allocations: 8 kB / 0.961 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.01309, allocations: 162.8 kB / 0.9611 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.01309, allocations: 4 kB / 0.9611 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0004573/0.01355, allocations: 378.2 kB / 0.9615 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.0136, allocations: 89.11 kB / 0.9616 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.0142, allocations: 0.7582 MB / 0.9623 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.01422, allocations: 29.7 kB / 0.9623 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.0144, allocations: 292 kB / 0.9626 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.01443, allocations: 31.73 kB / 0.9627 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.01447, allocations: 29.7 kB / 0.9627 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.01456, allocations: 310 kB / 0.963 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.01462, allocations: 81.61 kB / 0.9631 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.01469, allocations: 82 kB / 0.9631 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01482, allocations: 168.2 kB / 0.9633 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01482, allocations: 4 kB / 0.9633 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002556/0.01508, allocations: 300.6 kB / 0.9636 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.01512, allocations: 37.69 kB / 0.9636 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01512, allocations: 0 / 0.9636 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.01514, allocations: 3.938 kB / 0.9636 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.01522, allocations: 8 kB / 0.9636 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01523, allocations: 7.875 kB / 0.9636 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.01531, allocations: 11.98 kB / 0.9637 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.01532, allocations: 4 kB / 0.9637 GB, free: 6.43 MB / 0.9167 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.0005494/0.01587, allocations: 337.4 kB / 0.964 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.01592, allocations: 71.58 kB / 0.964 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.01626, allocations: 330.5 kB / 0.9644 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.01627, allocations: 3.938 kB / 0.9644 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.01628, allocations: 0 / 0.9644 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01628, allocations: 0 / 0.9644 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.01652, allocations: 305.1 kB / 0.9647 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01652, allocations: 0 / 0.9647 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.01656, allocations: 11.92 kB / 0.9647 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01656, allocations: 0 / 0.9647 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01658, allocations: 8 kB / 0.9647 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01658, allocations: 0 / 0.9647 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.01658, allocations: 7.938 kB / 0.9647 GB, free: 5.309 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.01684, allocations: 344 kB / 0.965 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.01691, allocations: 75.42 kB / 0.9651 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.01695, allocations: 4 kB / 0.9651 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.01702, allocations: 8 kB / 0.9651 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.01706, allocations: 8.109 kB / 0.9651 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.01708, allocations: 12 kB / 0.9651 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004151/0.0175, allocations: 0.5614 MB / 0.9657 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.0175, allocations: 0 / 0.9657 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003377/0.01784, allocations: 123.8 kB / 0.9658 GB, free: 4.16 MB / 0.9167 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.0003255/0.01816, allocations: 207 kB / 0.966 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.0184, allocations: 242.7 kB / 0.9662 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0184, allocations: 0 / 0.9662 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.01849, allocations: 153.1 kB / 0.9664 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.01886, allocations: 122.8 kB / 0.9665 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.01998, allocations: 1.159 MB / 0.9676 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.02023, allocations: 374.5 kB / 0.968 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.02027, allocations: 16.5 kB / 0.968 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of SimCode: time 7.62e-07/0.02027, allocations: 4 kB / 0.968 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of Templates: time 0.006934/0.0272, allocations: 6.9 MB / 0.9747 GB, free: 10.93 MB / 0.9323 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: 7.182860096916556]