Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 194.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 469.8 MB / 0.7424 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 65.69 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2512, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003851/0.255, allocations: 2.157 MB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2587, allocations: 2.655 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.2588, allocations: 4 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2602, allocations: 0.5408 MB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.2605, allocations: 115.4 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.2611, allocations: 239.6 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.2616, allocations: 375.3 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2618, allocations: 65.06 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.2619, allocations: 123.3 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.2622, allocations: 147.2 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.2622, allocations: 8 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.2624, allocations: 71.89 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.2626, allocations: 131.5 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.2628, allocations: 230.3 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.2636, allocations: 0.7006 MB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2636, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2636, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.2636, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 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.001271/0.2649, allocations: 0.9183 MB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2649, allocations: 8.031 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.265, allocations: 38.75 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2651, allocations: 68.09 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.2656, allocations: 456 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2657, allocations: 4.359 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2657, allocations: 7.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.2659, allocations: 104.2 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2659, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.266, allocations: 3.984 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.266, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.2661, allocations: 39.98 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.2669, allocations: 0.5278 MB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.2673, allocations: 102.6 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.2674, allocations: 32.84 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2674, allocations: 96 / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.2676, allocations: 87.31 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2676, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004359/0.268, allocations: 204.7 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.2681, allocations: 106.8 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.2693, allocations: 0.9227 MB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2693, allocations: 29.7 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.2696, allocations: 312.1 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.2697, allocations: 23.69 kB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.2697, allocations: 25.7 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2699, allocations: 314 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.27, allocations: 27.98 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2701, allocations: 76.2 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.2703, allocations: 69.69 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2703, allocations: 0 / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002912/0.2706, allocations: 172.7 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2706, allocations: 8 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2706, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2706, allocations: 0 / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.2707, allocations: 19.92 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.2707, allocations: 0 / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2709, allocations: 7.938 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2709, allocations: 8 kB / 1.076 GB, free: 1.602 MB / 0.8262 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.0003351/0.2712, allocations: 317.7 kB / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.2713, allocations: 71.19 kB / 1.076 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.2714, allocations: 78.41 kB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2714, allocations: 0 / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2715, allocations: 0 / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2715, allocations: 3.938 kB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.2719, allocations: 397.4 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2719, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.272, allocations: 8 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.272, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.272, allocations: 3.984 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.272, allocations: 4 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.272, allocations: 4 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.2723, allocations: 208 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2725, allocations: 136.2 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.2725, allocations: 4 kB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2727, allocations: 7.984 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.2727, allocations: 19.95 kB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.2728, allocations: 4 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008666/0.2736, allocations: 0.6786 MB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.2736, allocations: 0 / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003/0.2739, allocations: 60 kB / 1.078 GB, free: 15.52 MB / 0.8419 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.002063/0.276, allocations: 1.047 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.2763, allocations: 83.91 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2763, allocations: 0 / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2764, allocations: 39.95 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.2771, allocations: 173.9 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.2833, allocations: 4.983 MB / 1.084 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.284, allocations: 0.9941 MB / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000159/0.2842, allocations: 55.25 kB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.2844, allocations: 187.4 kB / 1.085 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.285e-06/0.2844, allocations: 0 / 1.085 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.3222, allocations: 13.04 MB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.176, allocations: 8.062 kB / 1.098 GB, free: 11.22 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches