Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.007/0.007, allocations: 101 kB / 15.73 MB, free: 6.047 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.001645/0.001645, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.66 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2322, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.00261/0.2349, allocations: 1.738 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.236, allocations: 0.719 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.2361, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.2362, allocations: 19.8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.2362, allocations: 15.8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.2366, allocations: 91.7 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.2367, allocations: 107.6 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2368, allocations: 59.61 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.2369, allocations: 39.86 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.237, allocations: 55.7 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.237, allocations: 11.94 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2373, allocations: 111.9 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.2373, allocations: 27.91 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.2373, allocations: 43.73 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2376, allocations: 160.4 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2376, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2376, allocations: 3.938 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.2376, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005828/0.2382, allocations: 447 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2382, allocations: 8.031 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.2383, allocations: 42.73 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.2383, allocations: 20.75 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.2384, allocations: 176.2 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2384, allocations: 12.12 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2385, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.2388, allocations: 130.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2388, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2388, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2388, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.2392, allocations: 111.9 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.2397, allocations: 396.3 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.24, allocations: 102.5 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2402, allocations: 72.73 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.2406, allocations: 0.5622 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2406, allocations: 38.56 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.2406, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006093/0.2413, allocations: 181.4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.2413, allocations: 51.41 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2414, allocations: 159.4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2414, allocations: 25.7 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.2415, allocations: 116 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.2415, allocations: 27.55 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.2416, allocations: 21.72 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.2417, allocations: 322.8 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2419, allocations: 43.95 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.242, allocations: 48.34 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.2424, allocations: 108.8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2424, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003727/0.2427, allocations: 141.4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2428, allocations: 13.56 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2428, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2428, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2429, allocations: 19.98 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.243, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2431, allocations: 27.81 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2431, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.684e-05/0.2432, allocations: 123.8 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.2432, allocations: 11.91 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.2436, allocations: 150.9 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2437, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2437, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2437, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2439, allocations: 221.4 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2439, allocations: 0 / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.244, allocations: 27.92 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.244, allocations: 4 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.244, allocations: 3.984 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.244, allocations: 0 / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2441, allocations: 192 / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.2445, allocations: 251.1 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.2445, allocations: 96.91 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2446, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2447, allocations: 7.984 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.2447, allocations: 11.98 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.2448, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.2448, allocations: 128.9 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2448, allocations: 0 / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002458/0.2451, allocations: 24 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006916/0.2458, allocations: 0.7869 MB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.2462, allocations: 107.8 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2462, allocations: 0 / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.2464, allocations: 59.91 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.2468, allocations: 40.41 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.2489, allocations: 1.765 MB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2491, allocations: 0.7002 MB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.037e-05/0.2492, allocations: 12.56 kB / 1.098 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.2492, allocations: 31.42 kB / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2492, allocations: 0 / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.2672, allocations: 3.139 MB / 1.101 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.498, allocations: 22.39 kB / 1.101 GB, free: 3.238 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches