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.001352/0.001352, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001514/0.001514, allocations: 211.8 kB / 22.24 MB, free: 4.859 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.785 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.82/2.82, allocations: 476 MB / 0.7699 GB, free: 4.73 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.002109/0.002109, allocations: 72.11 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3585, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003629/0.3621, allocations: 2.008 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.3656, allocations: 2.355 MB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3658, allocations: 4 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3669, allocations: 455.3 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.3671, allocations: 75.53 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008362/0.3679, allocations: 280.7 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000406/0.3683, allocations: 324 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3685, allocations: 53.14 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3686, allocations: 111.5 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.3688, allocations: 139.2 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.3688, allocations: 8 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.3694, allocations: 335.5 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3695, allocations: 103.5 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3697, allocations: 142.9 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.3706, allocations: 0.8366 MB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3706, allocations: 4 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3706, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3706, allocations: 0 / 1.29 GB, free: 5.164 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.001098/0.3717, allocations: 0.8158 MB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3718, allocations: 12.03 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.3718, allocations: 38.75 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.3719, allocations: 72.45 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.3725, allocations: 335.1 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3725, allocations: 12.22 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3725, allocations: 16.38 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.3728, allocations: 159.5 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3728, allocations: 3.938 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3728, allocations: 0 / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3728, allocations: 4 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.373, allocations: 129.6 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.3738, allocations: 0.4995 MB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.374, allocations: 120.2 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3742, allocations: 86.86 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.3742, allocations: 7.938 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.3744, allocations: 178.8 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3744, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005691/0.375, allocations: 370.2 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.3751, allocations: 85.11 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/0.3761, allocations: 0.7896 MB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3761, allocations: 29.7 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.3764, allocations: 288.2 kB / 1.294 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.3764, allocations: 23.8 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.3765, allocations: 33.7 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3766, allocations: 306 kB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3767, allocations: 85.67 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3768, allocations: 81.61 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.377, allocations: 164.6 kB / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.377, allocations: 0 / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003769/0.3774, allocations: 312.4 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.3775, allocations: 41.69 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3775, allocations: 0 / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3775, allocations: 0 / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.3776, allocations: 8 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3776, allocations: 0 / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3777, allocations: 19.88 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3777, allocations: 8 kB / 1.295 GB, free: 15.78 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.0003422/0.378, allocations: 347.3 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.3781, allocations: 67.52 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.3786, allocations: 330.6 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3786, allocations: 7.984 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3786, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3786, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.379, allocations: 340.5 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.379, allocations: 0 / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.379, allocations: 8 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.379, allocations: 7.938 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.379, allocations: 7.984 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.379, allocations: 0 / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.379, allocations: 0 / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.3795, allocations: 344 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3796, allocations: 71.5 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.3797, allocations: 4 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3798, allocations: 7.984 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3798, allocations: 8 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3799, allocations: 8.172 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007652/0.3806, allocations: 0.5887 MB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 0 / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004544/0.3811, allocations: 127.8 kB / 1.297 GB, free: 13.43 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.0009737/0.3821, allocations: 0.9704 MB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.3824, allocations: 242.7 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3824, allocations: 0 / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3825, allocations: 153 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3831, allocations: 135.1 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.3891, allocations: 4.857 MB / 1.303 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3895, allocations: 374.9 kB / 1.303 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.3897, allocations: 25.95 kB / 1.303 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.3899, allocations: 167.4 kB / 1.304 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/0.3899, allocations: 0 / 1.304 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.4344, allocations: 13.1 MB / 1.316 GB, free: 9.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.18, allocations: 8.969 kB / 1.316 GB, free: 9.457 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: 18.979873677249998]