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.001525/0.001525, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001864/0.001864, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.3/2.3, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5248, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003108/0.528, allocations: 2.214 MB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.5307, allocations: 2.609 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.5308, allocations: 7.938 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5319, allocations: 0.5391 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.5321, allocations: 107.5 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.5326, allocations: 219.2 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.533, allocations: 406.2 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.5332, allocations: 61.08 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.5333, allocations: 135.4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.5335, allocations: 159.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.5335, allocations: 8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.5336, allocations: 59.97 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.5338, allocations: 135.4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.534, allocations: 234.4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.5346, allocations: 0.6968 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5346, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5346, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5346, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 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.0009848/0.5356, allocations: 0.9105 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.5356, allocations: 11.97 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.5357, allocations: 38.75 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.5357, allocations: 75.98 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.5362, allocations: 448.1 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5362, allocations: 384 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.5362, allocations: 7.938 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.5364, allocations: 112.1 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.5364, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5365, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.5365, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5366, allocations: 43.97 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.5372, allocations: 0.5238 MB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.5376, allocations: 106.6 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.5376, allocations: 32.84 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5377, allocations: 0 / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.5378, allocations: 87.41 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.5378, allocations: 4 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003524/0.5382, allocations: 196.8 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5383, allocations: 106.8 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.5392, allocations: 0.9227 MB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5392, allocations: 25.7 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.5395, allocations: 320 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.5396, allocations: 19.8 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.5396, allocations: 21.72 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.5397, allocations: 314 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.5398, allocations: 31.98 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.5399, allocations: 72.22 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.54, allocations: 73.98 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.54, allocations: 0 / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002295/0.5402, allocations: 172.8 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5403, allocations: 4 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5403, allocations: 7.984 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.5403, allocations: 0 / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.5404, allocations: 15.98 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5404, allocations: 0 / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5405, allocations: 15.78 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5405, allocations: 7.984 kB / 1.029 GB, free: 6.109 MB / 0.7794 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.0002783/0.5408, allocations: 329 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.5409, allocations: 67.16 kB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.541, allocations: 78.41 kB / 1.029 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.541, allocations: 4 kB / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.541, allocations: 192 / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.541, allocations: 3.938 kB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.5413, allocations: 393.4 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5413, allocations: 0 / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.5414, allocations: 11.98 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5414, allocations: 0 / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.5414, allocations: 0 / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.5414, allocations: 8 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5414, allocations: 0 / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5417, allocations: 204.1 kB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.5418, allocations: 132.3 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.5419, allocations: 7.984 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.542, allocations: 4 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.5421, allocations: 11.92 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5421, allocations: 12 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006597/0.5427, allocations: 0.6746 MB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5428, allocations: 0 / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002556/0.543, allocations: 60 kB / 1.031 GB, free: 4.043 MB / 0.7794 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.001333/0.5444, allocations: 1.06 MB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.5446, allocations: 79.94 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5446, allocations: 0 / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.5447, allocations: 35.92 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.5453, allocations: 166.2 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.5504, allocations: 5.075 MB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.5509, allocations: 1.002 MB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.5511, allocations: 46.95 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.5513, allocations: 187.4 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.5513, allocations: 4 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.073/1.624, allocations: 12.91 MB / 1.051 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.624, allocations: 267.4 kB / 1.051 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.517, allocations: 3.938 kB / 1.051 GB, free: 15.45 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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