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.001703/0.001703, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002151/0.002151, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.969 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.381/3.381, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.002185/0.002185, allocations: 67.59 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003607/0.3678, allocations: 2.101 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003868/0.3716, allocations: 2.655 MB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.3718, allocations: 3.938 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.3731, allocations: 0.5095 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3733, allocations: 67.59 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.3742, allocations: 285.3 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.3746, allocations: 318.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3748, allocations: 49.2 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.375, allocations: 111.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.3752, allocations: 139.2 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.3752, allocations: 8 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.3758, allocations: 363.4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3759, allocations: 115.5 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3761, allocations: 210.5 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3771, allocations: 0.8288 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3771, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3771, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3772, allocations: 0 / 1.333 GB, free: 10.14 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.001164/0.3783, allocations: 0.8197 MB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3784, allocations: 12.03 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.3784, allocations: 46.73 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.3785, allocations: 68.52 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.379, allocations: 335.1 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3791, allocations: 4.375 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3791, allocations: 8.375 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3794, allocations: 135 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3794, allocations: 0 / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3794, allocations: 4 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3794, allocations: 4 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.3796, allocations: 95.89 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.3805, allocations: 0.5189 MB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3807, allocations: 90.53 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.3808, allocations: 49.17 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/0.3808, allocations: 11.92 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.3811, allocations: 133.1 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.3811, allocations: 7.938 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006405/0.3818, allocations: 310.8 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3819, allocations: 85.11 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.383, allocations: 0.7896 MB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.383, allocations: 33.62 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.3833, allocations: 288.3 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.3834, allocations: 27.78 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3835, allocations: 25.7 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3837, allocations: 318 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.3837, allocations: 47.97 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.3838, allocations: 48.05 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.384, allocations: 164.1 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.384, allocations: 0 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003773/0.3844, allocations: 267.2 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.3844, allocations: 37.7 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3844, allocations: 3.984 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3845, allocations: 3.984 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.3846, allocations: 12 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3846, allocations: 0 / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.3847, allocations: 11.94 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3847, allocations: 4 kB / 1.338 GB, free: 5.125 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.0003842/0.3851, allocations: 346.6 kB / 1.338 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.3852, allocations: 71.47 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.3857, allocations: 304.8 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3857, allocations: 4 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3857, allocations: 4 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3857, allocations: 0 / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.3861, allocations: 352.5 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3861, allocations: 0 / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.3862, allocations: 12 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3862, allocations: 0 / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3862, allocations: 7.984 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3862, allocations: 0 / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3862, allocations: 3.938 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.3866, allocations: 318.2 kB / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3867, allocations: 79.45 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.3868, allocations: 8 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3869, allocations: 4 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.3869, allocations: 3.984 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.387, allocations: 4 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007419/0.3877, allocations: 0.5887 MB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3877, allocations: 3.938 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000479/0.3882, allocations: 123.9 kB / 1.34 GB, free: 2.828 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.001157/0.3893, allocations: 0.9375 MB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.3897, allocations: 179.3 kB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3897, allocations: 0 / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3898, allocations: 119.3 kB / 1.341 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.3904, allocations: 128.5 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006412/0.3968, allocations: 4.671 MB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/0.3976, allocations: 0.9743 MB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000169/0.3978, allocations: 25.94 kB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.3981, allocations: 167.4 kB / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of SimCode: time 2.034e-06/0.3981, allocations: 0 / 1.347 GB, free: 11.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.4439, allocations: 12.27 MB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.49, allocations: 6.828 kB / 1.359 GB, free: 15.43 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.642914341000505]