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.001774/0.001774, allocations: 114.3 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.001461/0.001461, allocations: 215.2 kB / 22.25 MB, free: 5.117 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.461/1.461, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_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.002337/0.002337, allocations: 67.78 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3321, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003949/0.336, allocations: 2.096 MB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.3399, allocations: 2.647 MB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.3401, allocations: 7.938 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3415, allocations: 0.5021 MB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3417, allocations: 71.53 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.3427, allocations: 286.2 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.3432, allocations: 326.2 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.3434, allocations: 49.2 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3435, allocations: 115.5 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3438, allocations: 143.2 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.3438, allocations: 8 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.3445, allocations: 363.5 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3446, allocations: 103.5 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3448, allocations: 214.5 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.346, allocations: 0.8288 MB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.346, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.346, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.346, allocations: 0 / 1.291 GB, free: 3.961 MB / 0.9825 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.001329/0.3473, allocations: 0.8236 MB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3474, allocations: 8.031 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.3475, allocations: 46.67 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3476, allocations: 72.52 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.3481, allocations: 335.1 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3481, allocations: 8.281 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3482, allocations: 12.38 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.3484, allocations: 127.8 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3484, allocations: 0 / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3484, allocations: 4 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3484, allocations: 8 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.3486, allocations: 102.3 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.3495, allocations: 0.5189 MB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3497, allocations: 98.47 kB / 1.293 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.3498, allocations: 53.16 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3498, allocations: 11.94 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.35, allocations: 137 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.35, allocations: 0 / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005272/0.3505, allocations: 302.9 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.3506, allocations: 89.09 kB / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.3517, allocations: 0.7896 MB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3517, allocations: 29.7 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.352, allocations: 288.3 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.352, allocations: 23.8 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.3521, allocations: 33.7 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3522, allocations: 310 kB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.3523, allocations: 47.97 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.3524, allocations: 47.92 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3526, allocations: 156.2 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3526, allocations: 0 / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003951/0.353, allocations: 278.8 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3531, allocations: 37.69 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3531, allocations: 0 / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3531, allocations: 0 / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.3532, allocations: 12 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3532, allocations: 0 / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3533, allocations: 7.938 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.3533, allocations: 4 kB / 1.296 GB, free: 14.95 MB / 0.9981 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.0004198/0.3538, allocations: 339.4 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.3538, allocations: 75.47 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.3543, allocations: 313.1 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3544, allocations: 0 / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3544, allocations: 4 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3544, allocations: 0 / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.3548, allocations: 352.5 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3548, allocations: 4 kB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.3549, allocations: 4 kB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3549, allocations: 0 / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3549, allocations: 7.984 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3549, allocations: 0 / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3549, allocations: 0 / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.3553, allocations: 330.1 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3555, allocations: 71.45 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.3555, allocations: 8.188 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3556, allocations: 8 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3557, allocations: 7.984 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3557, allocations: 8 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008124/0.3565, allocations: 0.5848 MB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 0 / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005132/0.357, allocations: 123.9 kB / 1.298 GB, free: 12.64 MB / 0.9981 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.001199/0.3582, allocations: 0.9414 MB / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.3586, allocations: 171.3 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3586, allocations: 8 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3587, allocations: 111.4 kB / 1.299 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.3594, allocations: 129.2 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007115/0.3666, allocations: 4.685 MB / 1.304 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.3673, allocations: 0.9781 MB / 1.305 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.3675, allocations: 25.95 kB / 1.305 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.3677, allocations: 167.4 kB / 1.305 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.3677, allocations: 4 kB / 1.305 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.4146, allocations: 12.24 MB / 1.317 GB, free: 9.262 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.67, allocations: 16.98 kB / 1.317 GB, free: 9.25 MB / 1.014 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/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] "Error: Could not read variable speShi.speRat in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv. Warning: Get data of variable speShi.speRat from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.3300936680007]