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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 108 kB / 15.61 MB, free: 152 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.00175/0.00175, allocations: 194 kB / 16.53 MB, free: 6.699 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.61 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003464/0.2511, allocations: 2.142 MB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.2542, allocations: 2.659 MB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2543, allocations: 3.938 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.2557, allocations: 0.5369 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.256, allocations: 123.3 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.2566, allocations: 234.5 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.2571, allocations: 374.2 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2572, allocations: 73.06 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.2574, allocations: 123.4 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2576, allocations: 139.2 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.2577, allocations: 8 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2579, allocations: 71.89 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.258, allocations: 135.5 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2582, allocations: 230.4 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.2588, allocations: 0.7006 MB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2588, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2589, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.2589, allocations: 0 / 1.071 GB, free: 6.965 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.001129/0.26, allocations: 0.9067 MB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2601, allocations: 8.031 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.2601, allocations: 42.73 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.2602, allocations: 72.09 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.2607, allocations: 455.9 kB / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2608, allocations: 4.312 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2608, allocations: 7.938 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.261, allocations: 100.2 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.261, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.261, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.261, allocations: 4 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.2612, allocations: 47.91 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.2619, allocations: 0.5201 MB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2623, allocations: 110.6 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.2624, allocations: 36.84 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2624, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.2626, allocations: 83.38 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2626, allocations: 0 / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004069/0.263, allocations: 204.6 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.263, allocations: 102.8 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009898/0.264, allocations: 0.9227 MB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2641, allocations: 33.7 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.2643, allocations: 312.1 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.2644, allocations: 23.73 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.2644, allocations: 21.72 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.2645, allocations: 314 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.2646, allocations: 27.98 kB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2647, allocations: 72.28 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.2649, allocations: 73.62 kB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2649, allocations: 0 / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002675/0.2652, allocations: 168.7 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2652, allocations: 9.562 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2652, allocations: 4.391 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2652, allocations: 0 / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.2653, allocations: 20.2 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2653, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2654, allocations: 15.86 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.2655, allocations: 4 kB / 1.076 GB, free: 2 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.0002811/0.2658, allocations: 317.7 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.2658, allocations: 67.16 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2659, allocations: 82.39 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.266, allocations: 0 / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.266, allocations: 0 / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.266, allocations: 7.938 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.2663, allocations: 393.4 kB / 1.076 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2663, allocations: 3.938 kB / 1.076 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.2664, allocations: 15.92 kB / 1.076 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2664, allocations: 0 / 1.076 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2664, allocations: 0 / 1.076 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2664, allocations: 4 kB / 1.076 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2664, allocations: 0 / 1.076 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2667, allocations: 204.1 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2668, allocations: 140.2 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.2669, allocations: 4 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.267, allocations: 4 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.2671, allocations: 15.92 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2671, allocations: 4 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000731/0.2678, allocations: 0.6746 MB / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2678, allocations: 0 / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000296/0.2681, allocations: 60 kB / 1.078 GB, free: 15.93 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.001361/0.2695, allocations: 1.049 MB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2698, allocations: 83.89 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2698, allocations: 3.938 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.435e-05/0.2699, allocations: 40.03 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.2705, allocations: 175 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.2758, allocations: 4.986 MB / 1.084 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2763, allocations: 0.9941 MB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.2765, allocations: 47.27 kB / 1.085 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.2767, allocations: 191.4 kB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2767, allocations: 0 / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3062, allocations: 13.04 MB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.667, allocations: 7.188 kB / 1.098 GB, free: 11.6 MB / 0.8575 GB (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 50 --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) 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) Reference file matches