Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_10_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.00473/0.00473, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 197.1 kB / 16.68 MB, free: 5.934 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2703, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003513/0.2739, allocations: 2.165 MB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003592/0.2775, allocations: 2.655 MB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2777, allocations: 4 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2791, allocations: 0.533 MB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.2794, allocations: 119.4 kB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.2801, allocations: 246.6 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.2806, allocations: 374.2 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2808, allocations: 69.02 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.281, allocations: 131.4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.2812, allocations: 143.2 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.2812, allocations: 8 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2814, allocations: 63.97 kB / 1.173 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.2816, allocations: 135.4 kB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.2818, allocations: 226.4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.2827, allocations: 0.7157 MB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2827, allocations: 4 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2827, allocations: 0 / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2827, allocations: 0 / 1.174 GB, free: 15.71 MB / 0.9356 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.001287/0.284, allocations: 0.9377 MB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.2841, allocations: 12.03 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.2841, allocations: 34.75 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2842, allocations: 72.47 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.2848, allocations: 460.7 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2848, allocations: 12.38 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2849, allocations: 7.938 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.2851, allocations: 100.2 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2851, allocations: 0 / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2852, allocations: 4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2852, allocations: 0 / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.2853, allocations: 43.97 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.2861, allocations: 0.5201 MB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.2866, allocations: 102.6 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.2866, allocations: 32.84 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2867, allocations: 3.984 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.2869, allocations: 95.39 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2869, allocations: 0 / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004229/0.2873, allocations: 197.2 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.2874, allocations: 102.8 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.2885, allocations: 0.9265 MB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2886, allocations: 33.64 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.2889, allocations: 316 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.2889, allocations: 23.83 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.289, allocations: 25.72 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2891, allocations: 306 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.2892, allocations: 35.91 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.2893, allocations: 68.28 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2895, allocations: 73.69 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2895, allocations: 4 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002854/0.2898, allocations: 173.1 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2898, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2898, allocations: 0 / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2898, allocations: 0 / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.2899, allocations: 19.98 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.29, allocations: 7.938 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2901, allocations: 7.891 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.2901, allocations: 8.422 kB / 1.178 GB, free: 10.7 MB / 0.9356 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.0003462/0.2905, allocations: 317.7 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.2905, allocations: 75.53 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2907, allocations: 78.41 kB / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2907, allocations: 0 / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2907, allocations: 0 / 1.179 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2907, allocations: 3.938 kB / 1.179 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.2911, allocations: 397.4 kB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2911, allocations: 0 / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.2912, allocations: 11.98 kB / 1.179 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2912, allocations: 4 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2912, allocations: 0 / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2912, allocations: 4 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2912, allocations: 0 / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.2915, allocations: 208.5 kB / 1.179 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.2917, allocations: 140.6 kB / 1.179 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.2917, allocations: 0 / 1.179 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2919, allocations: 15.98 kB / 1.179 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.2919, allocations: 11.92 kB / 1.179 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.292, allocations: 4 kB / 1.179 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008465/0.2928, allocations: 0.6787 MB / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2928, allocations: 3.938 kB / 1.18 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002955/0.2931, allocations: 63.88 kB / 1.18 GB, free: 8.613 MB / 0.9356 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.002057/0.2952, allocations: 1.058 MB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2954, allocations: 63.97 kB / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2954, allocations: 0 / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2955, allocations: 39.91 kB / 1.181 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.2962, allocations: 171.7 kB / 1.181 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.3023, allocations: 4.829 MB / 1.186 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.303, allocations: 0.9941 MB / 1.187 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.3032, allocations: 51.2 kB / 1.187 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.3034, allocations: 187.4 kB / 1.187 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.3035, allocations: 0 / 1.187 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.3405, allocations: 13.25 MB / 1.2 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/9.425, allocations: 0 / 1.2 GB, free: 4.293 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches