Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001794/0.001794, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002407/0.002407, allocations: 213 kB / 22.25 MB, free: 5.262 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.367/3.367, allocations: 0.5107 GB / 0.8158 GB, free: 17.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_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.002107/0.002107, allocations: 70.83 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004417/0.3384, allocations: 2.116 MB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.3425, allocations: 2.535 MB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.3427, allocations: 0 / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.3442, allocations: 497.7 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.3447, allocations: 167.2 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.3454, allocations: 218.2 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.3459, allocations: 382.2 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3461, allocations: 33.25 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3463, allocations: 131.3 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3465, allocations: 163.1 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.3466, allocations: 8 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3468, allocations: 67.95 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.347, allocations: 139.4 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.3472, allocations: 154.7 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.3481, allocations: 0.7274 MB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3481, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3481, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.3481, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 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.001641/0.3497, allocations: 0.8701 MB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3498, allocations: 16.03 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.3498, allocations: 34.75 kB / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.35, allocations: 72.47 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.3506, allocations: 402.9 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.3507, allocations: 4.312 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3507, allocations: 7.938 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.351, allocations: 146.8 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.351, allocations: 0 / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.351, allocations: 4 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.351, allocations: 3.984 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3511, allocations: 51.91 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.352, allocations: 479.7 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.3523, allocations: 102.6 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.3524, allocations: 36.88 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3525, allocations: 0 / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.3527, allocations: 117 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.3527, allocations: 0 / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005197/0.3532, allocations: 205.1 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.3533, allocations: 81.11 kB / 1.373 GB, free: 3.934 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.3545, allocations: 0.9383 MB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.3545, allocations: 33.64 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.3549, allocations: 324 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3549, allocations: 19.78 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.3549, allocations: 25.72 kB / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3551, allocations: 314 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.3552, allocations: 27.98 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3553, allocations: 122.8 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3555, allocations: 73.67 kB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3555, allocations: 4 kB / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003077/0.3558, allocations: 173.2 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3558, allocations: 4 kB / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3558, allocations: 0 / 1.375 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3558, allocations: 4 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.3559, allocations: 15.94 kB / 1.375 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3559, allocations: 3.984 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3561, allocations: 11.94 kB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.3561, allocations: 432 / 1.375 GB, free: 1.797 MB / 1.061 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.0003419/0.3564, allocations: 321.7 kB / 1.375 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.3565, allocations: 71.53 kB / 1.375 GB, free: 1.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.3569, allocations: 196 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3569, allocations: 4 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3569, allocations: 4 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3569, allocations: 3.938 kB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.3573, allocations: 360.4 kB / 1.376 GB, free: 0.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3573, allocations: 0 / 1.376 GB, free: 0.793 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.3574, allocations: 11.98 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3574, allocations: 4 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3574, allocations: 4 kB / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3574, allocations: 0 / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3574, allocations: 0 / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.3577, allocations: 208.6 kB / 1.376 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3579, allocations: 63.52 kB / 1.376 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.3579, allocations: 4 kB / 1.376 GB, free: 496 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.358, allocations: 7.938 kB / 1.376 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3581, allocations: 19.86 kB / 1.376 GB, free: 468 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3581, allocations: 7.984 kB / 1.376 GB, free: 460 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009085/0.359, allocations: 0.6904 MB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.359, allocations: 0 / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003105/0.3593, allocations: 63.88 kB / 1.377 GB, free: 15.7 MB / 1.076 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.002242/0.3616, allocations: 1.076 MB / 1.378 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3618, allocations: 75.88 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3618, allocations: 0 / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3619, allocations: 39.98 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.3627, allocations: 187.8 kB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006503/0.3692, allocations: 4.869 MB / 1.383 GB, free: 9.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.3696, allocations: 399.6 kB / 1.384 GB, free: 9.105 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.3698, allocations: 50.95 kB / 1.384 GB, free: 9.051 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.3701, allocations: 195.4 kB / 1.384 GB, free: 8.859 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/0.3701, allocations: 0 / 1.384 GB, free: 8.859 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.4169, allocations: 14.56 MB / 1.398 GB, free: 10.51 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12, allocations: 12.64 kB / 1.398 GB, free: 10.5 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.14345025876537]