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.001975/0.001975, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002304/0.002304, allocations: 215.8 kB / 22.24 MB, free: 5.246 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.797 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.255/3.255, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002062/0.002062, allocations: 67.08 kB / 1.153 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 176.1 MB / 1.325 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004393/0.3572, allocations: 2.033 MB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.3616, allocations: 2.359 MB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.3618, allocations: 7.938 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.3633, allocations: 461.9 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.3635, allocations: 71.59 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3647, allocations: 275 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.3653, allocations: 326.4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.3655, allocations: 49.17 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.3657, allocations: 111.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.366, allocations: 135.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.3661, allocations: 8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007163/0.3668, allocations: 331.5 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3669, allocations: 115.4 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.3672, allocations: 146.8 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.3688, allocations: 0.8288 MB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3688, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3688, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.365e-05/0.3689, allocations: 4 kB / 1.332 GB, free: 10.99 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.002022/0.3709, allocations: 0.8216 MB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.371, allocations: 15.97 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/0.371, allocations: 42.73 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.3712, allocations: 64.52 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.3719, allocations: 335.1 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.372, allocations: 8.375 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.372, allocations: 4.375 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.3723, allocations: 161.9 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3723, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3723, allocations: 12 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.3723, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.3725, allocations: 125.6 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.3735, allocations: 0.4995 MB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3737, allocations: 136.2 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3738, allocations: 78.83 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.3739, allocations: 11.94 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.3741, allocations: 158.8 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.3741, allocations: 0 / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007125/0.3748, allocations: 386.2 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.3749, allocations: 85.09 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3761, allocations: 0.7896 MB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3761, allocations: 29.7 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.3764, allocations: 292.2 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3765, allocations: 27.78 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.3765, allocations: 29.7 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3767, allocations: 310 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3768, allocations: 77.67 kB / 1.336 GB, free: 6.273 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3769, allocations: 81.67 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3771, allocations: 164.7 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3771, allocations: 3.938 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000437/0.3775, allocations: 316.4 kB / 1.337 GB, free: 5.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.3776, allocations: 37.69 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3776, allocations: 0 / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3776, allocations: 4 kB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.3777, allocations: 4 kB / 1.337 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3777, allocations: 7.938 kB / 1.337 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3779, allocations: 11.94 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3779, allocations: 4 kB / 1.337 GB, free: 5.605 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.0003861/0.3783, allocations: 343.9 kB / 1.337 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.3784, allocations: 79.45 kB / 1.337 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.3789, allocations: 330.7 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3789, allocations: 3.984 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3789, allocations: 4.125 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3789, allocations: 0 / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.3793, allocations: 336.5 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3793, allocations: 0 / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.3794, allocations: 8 kB / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3794, allocations: 0 / 1.338 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3794, allocations: 4 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3794, allocations: 4 kB / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3794, allocations: 0 / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.3799, allocations: 355.9 kB / 1.338 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.38, allocations: 75.45 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.3801, allocations: 7.938 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3802, allocations: 4 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3803, allocations: 11.98 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3803, allocations: 4 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007286/0.381, allocations: 0.5848 MB / 1.339 GB, free: 3.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.381, allocations: 0 / 1.339 GB, free: 3.375 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000437/0.3814, allocations: 127.9 kB / 1.339 GB, free: 3.25 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.001017/0.3824, allocations: 0.9665 MB / 1.34 GB, free: 2.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3828, allocations: 250.6 kB / 1.34 GB, free: 1.973 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3828, allocations: 0 / 1.34 GB, free: 1.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.383, allocations: 153.1 kB / 1.341 GB, free: 1.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.3836, allocations: 127.5 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.3896, allocations: 4.843 MB / 1.345 GB, free: 12.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.39, allocations: 378.9 kB / 1.346 GB, free: 12.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.3902, allocations: 29.94 kB / 1.346 GB, free: 12.28 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.3904, allocations: 163.4 kB / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of SimCode: time 8.12e-07/0.3904, allocations: 0 / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/0.4357, allocations: 13.13 MB / 1.359 GB, free: 15.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.07, allocations: 1.719 kB / 1.359 GB, free: 15.26 MB / 1.061 GB " [Timeout remaining time 288] (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.073671818710864]