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.001638/0.001638, 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.001791/0.001791, allocations: 194.7 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.528/2.528, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.89 kB / 0.8694 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5102, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003185/0.5134, allocations: 2.151 MB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.5163, allocations: 2.647 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.5164, allocations: 7.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.5176, allocations: 0.5466 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.5179, allocations: 119.4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.5184, allocations: 231.1 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.5188, allocations: 377.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.5189, allocations: 69.08 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.5191, allocations: 131.4 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.5192, allocations: 147.2 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.5193, allocations: 8 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.5194, allocations: 59.95 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.5196, allocations: 131.5 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.5198, allocations: 230.4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.5203, allocations: 0.7045 MB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5204, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5204, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.5204, allocations: 8 kB / 1.025 GB, free: 10.86 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.00109/0.5215, allocations: 0.9027 MB / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.5215, allocations: 12.03 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.5216, allocations: 34.75 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.5217, allocations: 72 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.5221, allocations: 448.1 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5222, allocations: 12.31 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.5222, allocations: 7.938 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.5224, allocations: 96.23 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5224, allocations: 3.938 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5224, allocations: 4 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.5224, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.5226, allocations: 43.97 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.5232, allocations: 0.5277 MB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.5236, allocations: 110.7 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.5237, allocations: 32.84 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5237, allocations: 0 / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.5239, allocations: 87.38 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.5239, allocations: 0 / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003901/0.5243, allocations: 197 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.5244, allocations: 106.8 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.5254, allocations: 0.9149 MB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.5254, allocations: 29.7 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.5257, allocations: 323.9 kB / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.5257, allocations: 15.8 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.5258, allocations: 37.7 kB / 1.029 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.5259, allocations: 310 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.526, allocations: 23.98 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.5261, allocations: 76.27 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5262, allocations: 73.7 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5262, allocations: 4 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002659/0.5265, allocations: 172.8 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5265, allocations: 4 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5265, allocations: 0 / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5265, allocations: 4 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.5266, allocations: 16.17 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5266, allocations: 4 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.5268, allocations: 19.72 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5268, allocations: 0 / 1.029 GB, free: 5.895 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.0002871/0.5271, allocations: 327.2 kB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.5272, allocations: 67.16 kB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5273, allocations: 78.41 kB / 1.03 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5273, allocations: 0 / 1.03 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5273, allocations: 4 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5273, allocations: 3.938 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.5277, allocations: 397.4 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5277, allocations: 0 / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.5277, allocations: 4 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5277, allocations: 4 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5277, allocations: 4 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5277, allocations: 3.984 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5278, allocations: 0 / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.528, allocations: 188.2 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5282, allocations: 140.2 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.5282, allocations: 4 kB / 1.031 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5284, allocations: 11.92 kB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.5284, allocations: 11.94 kB / 1.031 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.5284, allocations: 7.984 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007518/0.5292, allocations: 0.6786 MB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5292, allocations: 3.938 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002862/0.5295, allocations: 59.98 kB / 1.031 GB, free: 3.828 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.001403/0.5309, allocations: 1.063 MB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.5311, allocations: 67.91 kB / 1.032 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5311, allocations: 0 / 1.032 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.5312, allocations: 39.98 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.5319, allocations: 178.7 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/0.5372, allocations: 4.982 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.5378, allocations: 0.9941 MB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.5379, allocations: 34.98 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5381, allocations: 191.4 kB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.5381, allocations: 0 / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.5661, allocations: 13.05 MB / 1.051 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.82, allocations: 9.703 kB / 1.051 GB, free: 15.51 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 & 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