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.001692/0.001692, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002023/0.002023, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.406/3.406, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [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.002194/0.002194, allocations: 68.14 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3871, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003671/0.3907, allocations: 2.019 MB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.3945, allocations: 2.363 MB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3947, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.3961, allocations: 457.9 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3962, allocations: 71.58 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3973, allocations: 281.6 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.3978, allocations: 328.7 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.398, allocations: 53.17 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3981, allocations: 107.5 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.3984, allocations: 143.2 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.3984, allocations: 8 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.3991, allocations: 331.5 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3992, allocations: 111.5 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.3994, allocations: 142.9 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.4005, allocations: 0.8327 MB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4005, allocations: 0 / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4005, allocations: 0 / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.4005, allocations: 0 / 1.37 GB, free: 6.762 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.001266/0.4018, allocations: 0.8172 MB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4018, allocations: 8.031 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.4019, allocations: 46.73 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.398e-05/0.402, allocations: 68.47 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.4026, allocations: 331.2 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.4026, allocations: 4.375 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.4026, allocations: 20.3 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.4029, allocations: 159.5 kB / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4029, allocations: 0 / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.403, allocations: 4 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.403, allocations: 0 / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.4032, allocations: 133.6 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.4042, allocations: 0.4995 MB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4044, allocations: 128.2 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.4045, allocations: 82.86 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.4045, allocations: 15.94 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.4048, allocations: 162.8 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.4048, allocations: 0 / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0006017/0.4054, allocations: 374.3 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.4055, allocations: 85.09 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.4065, allocations: 0.7973 MB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4065, allocations: 25.7 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.4068, allocations: 288.3 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4068, allocations: 27.75 kB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.4068, allocations: 29.7 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.407, allocations: 310 kB / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4071, allocations: 81.67 kB / 1.375 GB, free: 2.047 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4072, allocations: 77.67 kB / 1.375 GB, free: 1.965 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.4074, allocations: 168.1 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4074, allocations: 0 / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004732/0.4079, allocations: 312.6 kB / 1.375 GB, free: 1.461 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.408, allocations: 45.62 kB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.408, allocations: 4 kB / 1.375 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.408, allocations: 0 / 1.375 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.4081, allocations: 8 kB / 1.375 GB, free: 1.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4081, allocations: 0 / 1.375 GB, free: 1.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.4082, allocations: 15.89 kB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4082, allocations: 4 kB / 1.375 GB, free: 1.379 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.0003672/0.4086, allocations: 344.4 kB / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.4087, allocations: 75.5 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.4092, allocations: 327.1 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4092, allocations: 3.984 kB / 1.376 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4092, allocations: 0 / 1.376 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4092, allocations: 0 / 1.376 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.4097, allocations: 348.4 kB / 1.376 GB, free: 228 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4097, allocations: 0 / 1.376 GB, free: 228 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4097, allocations: 8 kB / 1.376 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4097, allocations: 0 / 1.376 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4097, allocations: 4 kB / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4097, allocations: 0 / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4097, allocations: 0 / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.4102, allocations: 355.9 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.4103, allocations: 79.5 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.4104, allocations: 0 / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4105, allocations: 4 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.4106, allocations: 15.97 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4106, allocations: 4 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007124/0.4113, allocations: 0.5887 MB / 1.377 GB, free: 15.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4113, allocations: 0 / 1.377 GB, free: 15.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004329/0.4117, allocations: 123.9 kB / 1.378 GB, free: 15.03 MB / 1.076 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.001051/0.4128, allocations: 0.9733 MB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.4131, allocations: 242.7 kB / 1.379 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4131, allocations: 0 / 1.379 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4133, allocations: 153 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.4139, allocations: 141.5 kB / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.4202, allocations: 4.855 MB / 1.384 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.4207, allocations: 374.9 kB / 1.384 GB, free: 8.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.4208, allocations: 25.95 kB / 1.384 GB, free: 8.047 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.421, allocations: 163.4 kB / 1.384 GB, free: 7.887 MB / 1.076 GB Notification: Performance of SimCode: time 1.262e-06/0.421, allocations: 0 / 1.384 GB, free: 7.887 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.4673, allocations: 13.11 MB / 1.397 GB, free: 11.04 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.03, allocations: 3.25 kB / 1.397 GB, free: 11.04 MB / 1.092 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 19.098901259247214]