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.001602/0.001602, 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.002004/0.002004, allocations: 212.7 kB / 22.24 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.82 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.273/3.273, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002055/0.002055, allocations: 70.45 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003597/0.3404, allocations: 2.015 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00359/0.344, allocations: 2.359 MB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3441, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.3454, allocations: 465.9 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3455, allocations: 75.53 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.3464, allocations: 275.3 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.3469, allocations: 325.1 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.347, allocations: 45.19 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3472, allocations: 119.4 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3474, allocations: 139.2 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3474, allocations: 8 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.3479, allocations: 327.5 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3481, allocations: 107.5 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3482, allocations: 146.9 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009289/0.3492, allocations: 0.8288 MB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3492, allocations: 0 / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3492, allocations: 0 / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3492, allocations: 8 kB / 1.37 GB, free: 6.852 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.001129/0.3503, allocations: 0.8158 MB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3503, allocations: 8.031 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.3504, allocations: 42.73 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.3505, allocations: 72.47 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.3511, allocations: 327.2 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3511, allocations: 12.31 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3511, allocations: 16.38 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.3514, allocations: 163.4 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3514, allocations: 4 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3514, allocations: 0 / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3514, allocations: 0 / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.3516, allocations: 133.6 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.3524, allocations: 0.5033 MB / 1.372 GB, free: 4.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3526, allocations: 128.2 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3528, allocations: 78.88 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.3528, allocations: 15.92 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.353, allocations: 166.8 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.353, allocations: 0 / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005403/0.3536, allocations: 370.3 kB / 1.373 GB, free: 3.816 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3536, allocations: 85.11 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3546, allocations: 0.7934 MB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3547, allocations: 29.69 kB / 1.374 GB, free: 2.879 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.3549, allocations: 288.2 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.355, allocations: 35.72 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.355, allocations: 25.72 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3552, allocations: 314 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3553, allocations: 77.67 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.3554, allocations: 77.67 kB / 1.375 GB, free: 2.047 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3556, allocations: 164.2 kB / 1.375 GB, free: 1.871 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3556, allocations: 4 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003781/0.3559, allocations: 308.5 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.356, allocations: 37.7 kB / 1.375 GB, free: 1.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.356, allocations: 0 / 1.375 GB, free: 1.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.356, allocations: 0 / 1.375 GB, free: 1.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3561, allocations: 15.92 kB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3561, allocations: 0 / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3562, allocations: 11.89 kB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3562, allocations: 4 kB / 1.375 GB, free: 1.473 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.0003609/0.3566, allocations: 347.3 kB / 1.376 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.3567, allocations: 71.52 kB / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.3572, allocations: 326.7 kB / 1.376 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3572, allocations: 3.938 kB / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3572, allocations: 0 / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3572, allocations: 3.984 kB / 1.376 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3576, allocations: 340.5 kB / 1.376 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3576, allocations: 0 / 1.376 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.3576, allocations: 11.98 kB / 1.376 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3576, allocations: 0 / 1.376 GB, free: 316 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3576, allocations: 4 kB / 1.376 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3576, allocations: 4 kB / 1.376 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3576, allocations: 4.062 kB / 1.376 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.3581, allocations: 352.4 kB / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3582, allocations: 83.48 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.3583, allocations: 8 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3584, allocations: 4 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3584, allocations: 3.984 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3585, allocations: 11.98 kB / 1.377 GB, free: 15.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007217/0.3592, allocations: 0.5848 MB / 1.377 GB, free: 15.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 0 / 1.377 GB, free: 15.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004169/0.3596, allocations: 127.9 kB / 1.378 GB, free: 15.11 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.00103/0.3606, allocations: 0.9742 MB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.361, allocations: 238.7 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.361, allocations: 4 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3612, allocations: 153 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.3617, allocations: 127.9 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.3676, allocations: 4.847 MB / 1.384 GB, free: 8.562 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.368, allocations: 374.9 kB / 1.384 GB, free: 8.172 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.3681, allocations: 29.89 kB / 1.384 GB, free: 8.145 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.3683, allocations: 167.4 kB / 1.384 GB, free: 7.98 MB / 1.076 GB Notification: Performance of SimCode: time 1.122e-06/0.3683, allocations: 0 / 1.384 GB, free: 7.98 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/0.4172, allocations: 13.12 MB / 1.397 GB, free: 11.12 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.14, allocations: 7.219 kB / 1.397 GB, free: 11.12 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 & 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.08005166379735]