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.001357/0.001357, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001668/0.001668, allocations: 215.8 kB / 22.26 MB, free: 5.078 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.016 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.51/3.51, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002202/0.002202, allocations: 62.84 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4007, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004028/0.4047, allocations: 2.084 MB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.4089, allocations: 2.671 MB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.4091, allocations: 0 / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.4108, allocations: 0.5056 MB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.411, allocations: 67.53 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.412, allocations: 275.3 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000635/0.4126, allocations: 328.4 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.4128, allocations: 53.17 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.413, allocations: 115.5 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.4133, allocations: 135.2 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.4133, allocations: 8 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007844/0.4141, allocations: 359.5 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.4142, allocations: 111.5 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.4145, allocations: 218.5 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.4157, allocations: 0.8249 MB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4157, allocations: 0 / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4157, allocations: 0 / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.4157, allocations: 0 / 1.36 GB, free: 0.7109 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.001486/0.4172, allocations: 0.8276 MB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.4173, allocations: 12.03 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.1e-05/0.4174, allocations: 42.73 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.4175, allocations: 72.45 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.4181, allocations: 323.2 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4181, allocations: 8.375 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4181, allocations: 12.38 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.4184, allocations: 129.7 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.4184, allocations: 0 / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.4184, allocations: 8 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4184, allocations: 0 / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.4186, allocations: 99.94 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.4196, allocations: 0.5228 MB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4198, allocations: 90.53 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.4199, allocations: 57.09 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.4199, allocations: 12.03 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.4201, allocations: 133 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.4201, allocations: 0 / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005545/0.4207, allocations: 314.8 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.4208, allocations: 77.11 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.4219, allocations: 0.7973 MB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.4219, allocations: 29.7 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.4222, allocations: 288.3 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.4223, allocations: 35.67 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.4224, allocations: 29.7 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.4226, allocations: 310 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4227, allocations: 43.97 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.4228, allocations: 52.3 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.423, allocations: 156.3 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.423, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005172/0.4236, allocations: 274.8 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.4236, allocations: 41.69 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4236, allocations: 0 / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4237, allocations: 0 / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4238, allocations: 11.94 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4238, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.424, allocations: 15.88 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.424, allocations: 4 kB / 1.365 GB, free: 11.68 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.0004532/0.4244, allocations: 337.2 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.4245, allocations: 75.52 kB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.4251, allocations: 300.8 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4251, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4251, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4251, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.4256, allocations: 360.4 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4256, allocations: 0 / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.4256, allocations: 7.984 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4256, allocations: 0 / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4257, allocations: 12.12 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4257, allocations: 4 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4257, allocations: 0 / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.4261, allocations: 322.2 kB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4263, allocations: 75.5 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.4263, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.4265, allocations: 7.984 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.4265, allocations: 11.94 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.4265, allocations: 7.984 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008713/0.4274, allocations: 0.5887 MB / 1.367 GB, free: 9.512 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4274, allocations: 3.938 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00055/0.428, allocations: 119.9 kB / 1.367 GB, free: 9.391 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.001362/0.4293, allocations: 0.943 MB / 1.368 GB, free: 8.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.4297, allocations: 175.3 kB / 1.368 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4297, allocations: 4 kB / 1.368 GB, free: 8.227 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4299, allocations: 123.3 kB / 1.368 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.4306, allocations: 122.5 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00777/0.4384, allocations: 4.673 MB / 1.373 GB, free: 3.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.4391, allocations: 0.982 MB / 1.374 GB, free: 2.188 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.4393, allocations: 33.89 kB / 1.374 GB, free: 2.156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4396, allocations: 163.4 kB / 1.374 GB, free: 1.996 MB / 1.061 GB Notification: Performance of SimCode: time 1.723e-06/0.4396, allocations: 0 / 1.374 GB, free: 1.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.4907, allocations: 12.23 MB / 1.386 GB, free: 5.973 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.02, allocations: 8.047 kB / 1.386 GB, free: 5.965 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 & /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: 20.17940203519538]