Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001405/0.001405, allocations: 102 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.001522/0.001522, 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.383/3.383, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_12_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.002233/0.002233, allocations: 74.61 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3556, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003581/0.3591, allocations: 2.072 MB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003897/0.363, allocations: 2.643 MB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3632, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.3645, allocations: 0.5056 MB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.3647, allocations: 67.53 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.3656, allocations: 274.5 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005591/0.3662, allocations: 322.3 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.3664, allocations: 65.02 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3665, allocations: 119.3 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3668, allocations: 139.3 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3668, allocations: 12 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006659/0.3675, allocations: 339.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.3676, allocations: 103.5 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.3678, allocations: 214.5 kB / 1.328 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.369, allocations: 0.8288 MB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.369, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.369, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.369, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 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.001291/0.3703, allocations: 0.8988 MB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3704, allocations: 15.98 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.3704, allocations: 42.73 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.3705, allocations: 68.52 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.371, allocations: 393 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3711, allocations: 8.375 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3711, allocations: 8.375 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3713, allocations: 129.7 kB / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3713, allocations: 0 / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3714, allocations: 4 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3714, allocations: 4 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3715, allocations: 107.9 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.3724, allocations: 0.5394 MB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3725, allocations: 94.53 kB / 1.331 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3727, allocations: 57.16 kB / 1.331 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.3727, allocations: 7.938 kB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3729, allocations: 145 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3729, allocations: 0 / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005549/0.3735, allocations: 302.8 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.3735, allocations: 89.09 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3746, allocations: 0.7896 MB / 1.332 GB, free: 7.711 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3746, allocations: 29.7 kB / 1.332 GB, free: 7.676 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.3749, allocations: 288.2 kB / 1.332 GB, free: 7.391 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.3749, allocations: 23.8 kB / 1.332 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.375, allocations: 37.7 kB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3752, allocations: 309.9 kB / 1.333 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.3752, allocations: 47.97 kB / 1.333 GB, free: 6.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.3753, allocations: 43.98 kB / 1.333 GB, free: 6.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3755, allocations: 160.2 kB / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3755, allocations: 0 / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004033/0.3759, allocations: 278.8 kB / 1.333 GB, free: 6.469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.376, allocations: 37.69 kB / 1.333 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.376, allocations: 4 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.376, allocations: 0 / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.3761, allocations: 11.94 kB / 1.333 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3761, allocations: 0 / 1.333 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3762, allocations: 7.938 kB / 1.333 GB, free: 6.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.3762, allocations: 11.98 kB / 1.333 GB, free: 6.391 MB / 1.029 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.0003648/0.3766, allocations: 331.4 kB / 1.333 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.3767, allocations: 79.45 kB / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.3772, allocations: 296.9 kB / 1.334 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3772, allocations: 4 kB / 1.334 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3772, allocations: 0 / 1.334 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3772, allocations: 0 / 1.334 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.3776, allocations: 385.4 kB / 1.334 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3776, allocations: 0 / 1.334 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.3777, allocations: 15.92 kB / 1.334 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3777, allocations: 0 / 1.334 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3777, allocations: 4 kB / 1.334 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3777, allocations: 0 / 1.334 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3777, allocations: 0 / 1.334 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.3781, allocations: 322.7 kB / 1.335 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.3783, allocations: 148.6 kB / 1.335 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3784, allocations: 8.188 kB / 1.335 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3785, allocations: 11.98 kB / 1.335 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3785, allocations: 0 / 1.335 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3785, allocations: 12 kB / 1.335 GB, free: 4.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007751/0.3793, allocations: 0.5809 MB / 1.335 GB, free: 4.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3793, allocations: 0 / 1.335 GB, free: 4.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004691/0.3798, allocations: 131.8 kB / 1.335 GB, free: 3.973 MB / 1.029 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.001139/0.3809, allocations: 0.9453 MB / 1.336 GB, free: 2.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.3812, allocations: 183.2 kB / 1.336 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3812, allocations: 0 / 1.336 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3814, allocations: 115.4 kB / 1.337 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.382, allocations: 135.8 kB / 1.337 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.3885, allocations: 4.672 MB / 1.341 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.3892, allocations: 0.9743 MB / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.3894, allocations: 29.89 kB / 1.342 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.3896, allocations: 167.4 kB / 1.342 GB, free: 12.58 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.3896, allocations: 0 / 1.342 GB, free: 12.58 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.4322, allocations: 12.11 MB / 1.354 GB, free: 0.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.756/10.19, allocations: 3.422 kB / 1.354 GB, free: 0.707 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv. Warning: Get data of variable speShi.speRat from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.162834340007976]