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.001823/0.001823, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001797/0.001797, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.816/2.816, allocations: 476.7 MB / 0.7672 GB, free: 5.184 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.002235/0.002235, allocations: 71.91 kB / 1.112 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.827, allocations: 169.9 MB / 1.278 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003907/0.8309, allocations: 2.082 MB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.8351, allocations: 2.639 MB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.8353, allocations: 7.938 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.8367, allocations: 0.4997 MB / 1.283 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.837, allocations: 75.53 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.8381, allocations: 273 kB / 1.284 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.8387, allocations: 322.3 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.8388, allocations: 69.06 kB / 1.284 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.839, allocations: 107.5 kB / 1.284 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.8393, allocations: 143.2 kB / 1.284 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.8393, allocations: 8 kB / 1.284 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006212/0.84, allocations: 331.6 kB / 1.285 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.8401, allocations: 107.4 kB / 1.285 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.8404, allocations: 210.5 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.8415, allocations: 0.8288 MB / 1.286 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8415, allocations: 3.938 kB / 1.286 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.654e-06/0.8415, allocations: 0 / 1.286 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.8415, allocations: 0 / 1.286 GB, free: 5.637 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.001369/0.8429, allocations: 0.895 MB / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.8429, allocations: 11.97 kB / 1.287 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.843, allocations: 42.73 kB / 1.287 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.8431, allocations: 68.52 kB / 1.287 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.8437, allocations: 400.9 kB / 1.287 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.8437, allocations: 12.28 kB / 1.287 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.8438, allocations: 12.38 kB / 1.287 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.844, allocations: 133.8 kB / 1.287 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.844, allocations: 0 / 1.287 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.8441, allocations: 4 kB / 1.287 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.8441, allocations: 0 / 1.287 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.8442, allocations: 99.94 kB / 1.287 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.8452, allocations: 0.5433 MB / 1.288 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.8454, allocations: 98.52 kB / 1.288 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.8455, allocations: 57.11 kB / 1.288 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.8455, allocations: 11.92 kB / 1.288 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.8457, allocations: 129.1 kB / 1.288 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.8457, allocations: 0 / 1.288 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005491/0.8463, allocations: 315.2 kB / 1.289 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.8463, allocations: 81.11 kB / 1.289 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.8474, allocations: 0.7896 MB / 1.289 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.8475, allocations: 37.7 kB / 1.289 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.8478, allocations: 288.2 kB / 1.29 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.8478, allocations: 27.78 kB / 1.29 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.8479, allocations: 25.72 kB / 1.29 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.848, allocations: 314 kB / 1.29 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.8481, allocations: 39.98 kB / 1.29 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.8482, allocations: 51.91 kB / 1.29 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.8484, allocations: 156.2 kB / 1.29 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8484, allocations: 7.938 kB / 1.29 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003956/0.8488, allocations: 278.8 kB / 1.291 GB, free: 492 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.8488, allocations: 33.7 kB / 1.291 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8488, allocations: 160 / 1.291 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.8488, allocations: 0 / 1.291 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.8489, allocations: 15.98 kB / 1.291 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8489, allocations: 3.984 kB / 1.291 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.8491, allocations: 7.953 kB / 1.291 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.8491, allocations: 4 kB / 1.291 GB, free: 420 kB / 0.9825 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.0003947/0.8495, allocations: 343.3 kB / 1.291 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.8496, allocations: 75.52 kB / 1.291 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.8501, allocations: 308.8 kB / 1.291 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.8501, allocations: 0 / 1.291 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8501, allocations: 0 / 1.291 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8501, allocations: 0 / 1.291 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.8506, allocations: 385.3 kB / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8506, allocations: 0 / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.8507, allocations: 4 kB / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8507, allocations: 0 / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.8507, allocations: 8 kB / 1.292 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8507, allocations: 0 / 1.292 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8507, allocations: 0 / 1.292 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.8511, allocations: 318.2 kB / 1.292 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.8513, allocations: 152.6 kB / 1.292 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.8514, allocations: 7.938 kB / 1.292 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8515, allocations: 4 kB / 1.292 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.8515, allocations: 11.98 kB / 1.292 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.8516, allocations: 8 kB / 1.292 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007847/0.8523, allocations: 0.5848 MB / 1.293 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8523, allocations: 0 / 1.293 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004833/0.8528, allocations: 131.8 kB / 1.293 GB, free: 13.98 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.001257/0.8541, allocations: 0.9345 MB / 1.294 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.8545, allocations: 183.2 kB / 1.294 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8545, allocations: 0 / 1.294 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.8546, allocations: 123.4 kB / 1.294 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006625/0.8553, allocations: 126.5 kB / 1.294 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006736/0.862, allocations: 4.678 MB / 1.299 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.8627, allocations: 0.9743 MB / 1.3 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.8629, allocations: 25.95 kB / 1.3 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.8631, allocations: 167.4 kB / 1.3 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.8631, allocations: 0 / 1.3 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04474/0.9078, allocations: 12.1 MB / 1.312 GB, free: 10.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.619/10.53, allocations: 19.33 kB / 1.312 GB, free: 10.73 MB / 1.014 GB " [Timeout remaining time 289] (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: 16.586340531008318]