Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.001832/0.001832, 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.002409/0.002409, allocations: 211.3 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.789 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.254/3.254, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.002149/0.002149, allocations: 67.84 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003711/0.3394, allocations: 2.121 MB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.3432, allocations: 2.531 MB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.3434, allocations: 3.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.3449, allocations: 0.4938 MB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.3453, allocations: 159.2 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.3459, allocations: 211.2 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.3464, allocations: 390.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3465, allocations: 25.28 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3467, allocations: 135.3 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.347, allocations: 159.1 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.347, allocations: 12 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3472, allocations: 67.94 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3474, allocations: 135.4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3476, allocations: 162.7 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009017/0.3485, allocations: 0.7313 MB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3485, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3485, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.3485, allocations: 3.938 kB / 1.332 GB, free: 10.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001404/0.3499, allocations: 0.8623 MB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.35, allocations: 12.03 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.35, allocations: 38.75 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3501, allocations: 76.45 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.3507, allocations: 391 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3507, allocations: 8.359 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.3508, allocations: 7.938 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.351, allocations: 146.7 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3511, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3511, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3511, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3512, allocations: 43.97 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.3521, allocations: 0.4995 MB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.3525, allocations: 98.64 kB / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.3526, allocations: 32.84 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3526, allocations: 0 / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.3528, allocations: 113.1 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3528, allocations: 96 / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.3532, allocations: 205.1 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.3533, allocations: 77.11 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3545, allocations: 0.9384 MB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3545, allocations: 25.7 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.3548, allocations: 335.9 kB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.3548, allocations: 15.84 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.3549, allocations: 25.7 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.355, allocations: 317.9 kB / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.3551, allocations: 27.98 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3553, allocations: 122.8 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3554, allocations: 70 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3554, allocations: 8.031 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003178/0.3557, allocations: 177.1 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3558, allocations: 4 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3558, allocations: 0 / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3558, allocations: 4 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3559, allocations: 15.98 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3559, allocations: 0 / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.356, allocations: 11.89 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3561, allocations: 3.984 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003773/0.3564, allocations: 326.2 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.3565, allocations: 75.52 kB / 1.337 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.3569, allocations: 196 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3569, allocations: 4 kB / 1.337 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3569, allocations: 0 / 1.337 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.357, allocations: 7.875 kB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.3574, allocations: 352.5 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3574, allocations: 0 / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.3574, allocations: 8 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3574, allocations: 0 / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3575, allocations: 7.984 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3575, allocations: 4 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3575, allocations: 3.938 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.3578, allocations: 212.5 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3579, allocations: 63.53 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.358, allocations: 0 / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3581, allocations: 11.98 kB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.3582, allocations: 11.92 kB / 1.338 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3582, allocations: 4 kB / 1.338 GB, free: 4.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008462/0.359, allocations: 0.6903 MB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.359, allocations: 4 kB / 1.339 GB, free: 4.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003102/0.3593, allocations: 63.88 kB / 1.339 GB, free: 3.953 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002233/0.3616, allocations: 1.092 MB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3618, allocations: 67.97 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3618, allocations: 3.938 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3619, allocations: 39.97 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.3626, allocations: 177.6 kB / 1.34 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/0.369, allocations: 4.87 MB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3694, allocations: 391.7 kB / 1.345 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.3697, allocations: 46.95 kB / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.3699, allocations: 199.4 kB / 1.345 GB, free: 13.12 MB / 1.045 GB Notification: Performance of SimCode: time 1.183e-06/0.3699, allocations: 0 / 1.345 GB, free: 13.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04576/0.4157, allocations: 14.59 MB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.05, allocations: 8.062 kB / 1.36 GB, free: 14.75 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.020176887046546]