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.00179/0.00179, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.002389/0.002389, allocations: 220.4 kB / 22.25 MB, free: 5.129 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 8 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.401/3.401, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002024/0.002024, allocations: 63.38 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.386, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003646/0.3897, allocations: 2.085 MB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3937, allocations: 2.663 MB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.3938, allocations: 7.938 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3952, allocations: 0.5017 MB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3953, allocations: 71.59 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.3962, allocations: 281.2 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.3967, allocations: 326.3 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3968, allocations: 53.19 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.397, allocations: 111.5 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3972, allocations: 143.2 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.3973, allocations: 8 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006504/0.3979, allocations: 359.5 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.398, allocations: 111.4 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3983, allocations: 214.5 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3994, allocations: 0.8248 MB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3994, allocations: 0 / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.858e-06/0.3994, allocations: 4 kB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3994, allocations: 4 kB / 1.36 GB, free: 0.668 MB / 1.045 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.001201/0.4006, allocations: 0.8243 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4006, allocations: 8.031 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.4007, allocations: 38.75 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.4008, allocations: 72.52 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.4013, allocations: 331.1 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4014, allocations: 8.375 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.4014, allocations: 4.375 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.4016, allocations: 136.2 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4016, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4017, allocations: 4 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4017, allocations: 4 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.4018, allocations: 99.88 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.4027, allocations: 0.5152 MB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4029, allocations: 98.47 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.403, allocations: 56.97 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.403, allocations: 8 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.4032, allocations: 129.1 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.4032, allocations: 0 / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005281/0.4038, allocations: 310.9 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.4038, allocations: 85.11 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4048, allocations: 0.7935 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.4049, allocations: 25.7 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.4052, allocations: 292.2 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.4052, allocations: 27.78 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.4053, allocations: 29.72 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4054, allocations: 313.9 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.961e-05/0.4055, allocations: 43.98 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.4056, allocations: 47.97 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.4058, allocations: 160.2 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4058, allocations: 7.922 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003781/0.4062, allocations: 270.9 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.4062, allocations: 33.69 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4062, allocations: 4 kB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4062, allocations: 0 / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.4063, allocations: 7.938 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.4063, allocations: 8.141 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.4064, allocations: 7.938 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.4065, allocations: 8 kB / 1.365 GB, free: 11.66 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.0003781/0.4068, allocations: 353.1 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.4069, allocations: 71.53 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.4074, allocations: 300.9 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.4074, allocations: 3.984 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4074, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4074, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.4078, allocations: 352.5 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4078, allocations: 0 / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.4079, allocations: 8 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4079, allocations: 4 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4079, allocations: 4.125 kB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.4079, allocations: 7.984 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4079, allocations: 0 / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.4083, allocations: 326.5 kB / 1.366 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4084, allocations: 83.44 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.4085, allocations: 4 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4086, allocations: 4 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.4087, allocations: 11.98 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4087, allocations: 8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007217/0.4094, allocations: 0.5809 MB / 1.367 GB, free: 9.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4094, allocations: 0 / 1.367 GB, free: 9.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004319/0.4098, allocations: 127.9 kB / 1.367 GB, free: 9.352 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.001029/0.4109, allocations: 0.9393 MB / 1.368 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.4112, allocations: 179.3 kB / 1.368 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4112, allocations: 0 / 1.368 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.4113, allocations: 119.3 kB / 1.368 GB, free: 8.062 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.4118, allocations: 127 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.4181, allocations: 4.667 MB / 1.373 GB, free: 3.164 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.4188, allocations: 0.9782 MB / 1.374 GB, free: 2.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.4189, allocations: 29.94 kB / 1.374 GB, free: 2.133 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4192, allocations: 167.4 kB / 1.374 GB, free: 1.969 MB / 1.061 GB Notification: Performance of SimCode: time 1.533e-06/0.4192, allocations: 0 / 1.374 GB, free: 1.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.4646, allocations: 12.24 MB / 1.386 GB, free: 5.934 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.41, allocations: 5.531 kB / 1.386 GB, free: 5.93 MB / 1.076 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable speShi.speRat in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv. Warning: Get data of variable speShi.speRat from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.491275869999754]