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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009135/0.0009134, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005174/0.005173, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 12 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5259, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002253/0.5282, allocations: 1.864 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.531, allocations: 2.555 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.5311, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5323, allocations: 0.5429 MB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.5326, allocations: 103.5 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.5331, allocations: 215.5 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.5335, allocations: 353.1 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.5336, allocations: 77.03 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.5338, allocations: 119.3 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.534, allocations: 147.2 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.534, allocations: 4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.5341, allocations: 55.95 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.5343, allocations: 135.4 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5345, allocations: 248.1 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.535, allocations: 0.6732 MB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.535, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.535, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5351, allocations: 0 / 1.03 GB, free: 8.73 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.0009209/0.536, allocations: 0.8255 MB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.536, allocations: 8.031 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.5361, allocations: 42.69 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.5362, allocations: 76 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.5366, allocations: 444.1 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5366, allocations: 16.12 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.5366, allocations: 0 / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5368, allocations: 104.2 kB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5369, allocations: 0 / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5369, allocations: 0 / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5369, allocations: 8 kB / 1.032 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.537, allocations: 39.97 kB / 1.032 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.5377, allocations: 0.5277 MB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.538, allocations: 102.6 kB / 1.032 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.5381, allocations: 36.84 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.5381, allocations: 0 / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.5383, allocations: 87.41 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.5383, allocations: 0 / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003605/0.5387, allocations: 192.8 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.5387, allocations: 102.8 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/0.5397, allocations: 0.9265 MB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.5397, allocations: 29.7 kB / 1.034 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.54, allocations: 316.1 kB / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.54, allocations: 19.78 kB / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.54, allocations: 17.72 kB / 1.034 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.5401, allocations: 309.9 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.5402, allocations: 35.92 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.392e-05/0.5403, allocations: 76.27 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.5404, allocations: 65.7 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5404, allocations: 0 / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002392/0.5407, allocations: 172.7 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5407, allocations: 4 kB / 1.034 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5407, allocations: 400 / 1.034 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.5407, allocations: 4 kB / 1.034 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.5408, allocations: 16.02 kB / 1.034 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5408, allocations: 7.938 kB / 1.035 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.541, allocations: 15.78 kB / 1.035 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.541, allocations: 4 kB / 1.035 GB, free: 3.859 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.0002776/0.5413, allocations: 323.8 kB / 1.035 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.5413, allocations: 63.16 kB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.5414, allocations: 86.39 kB / 1.035 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5414, allocations: 0 / 1.035 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5415, allocations: 3.938 kB / 1.035 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5415, allocations: 4 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.5418, allocations: 393.4 kB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5418, allocations: 0 / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.5419, allocations: 8 kB / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5419, allocations: 0 / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.5419, allocations: 48 / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5419, allocations: 7.984 kB / 1.035 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5419, allocations: 11.92 kB / 1.035 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.5422, allocations: 196.2 kB / 1.036 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5423, allocations: 144.2 kB / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.5423, allocations: 0 / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.5425, allocations: 7.984 kB / 1.036 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.5425, allocations: 15.92 kB / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5425, allocations: 4 kB / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007234/0.5433, allocations: 0.6785 MB / 1.036 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5433, allocations: 0 / 1.036 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002698/0.5436, allocations: 60 kB / 1.036 GB, free: 1.785 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.001282/0.5448, allocations: 1.053 MB / 1.037 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.545, allocations: 71.97 kB / 1.038 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5451, allocations: 0 / 1.038 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.5451, allocations: 39.97 kB / 1.038 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.5458, allocations: 159.6 kB / 1.038 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.5513, allocations: 5.098 MB / 1.043 GB, free: 11.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.5518, allocations: 0.9866 MB / 1.044 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.552, allocations: 51.25 kB / 1.044 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.5522, allocations: 187.4 kB / 1.044 GB, free: 10.14 MB / 0.795 GB Notification: Performance of SimCode: time 3.6e-07/0.5522, allocations: 0 / 1.044 GB, free: 10.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.478/2.03, allocations: 12.43 MB / 1.056 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/2.03, allocations: 265.8 kB / 1.056 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/4.371, allocations: 0 / 1.056 GB, free: 13.71 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