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.005019/0.005019, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001054/0.001054, allocations: 197 kB / 16.68 MB, free: 5.984 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.282/1.282, 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.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2171, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002417/0.2196, allocations: 1.739 MB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.2206, allocations: 0.7306 MB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.2206, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.2207, allocations: 11.86 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.2207, allocations: 27.72 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.2211, allocations: 83.78 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2212, allocations: 115.6 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2213, allocations: 47.66 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.2214, allocations: 39.84 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.2215, allocations: 59.69 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2215, allocations: 12 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.2217, allocations: 103.9 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2217, allocations: 23.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.2218, allocations: 55.72 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.222, allocations: 156.3 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.222, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.222, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.222, allocations: 0 / 1.091 GB, free: 14.74 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.0005556/0.2226, allocations: 439 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2226, allocations: 16.02 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.2226, allocations: 42.75 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2227, allocations: 12.75 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2228, allocations: 192.1 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2228, allocations: 12.12 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2228, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.2231, allocations: 118.9 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2231, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2232, allocations: 12 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2232, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.2235, allocations: 111.9 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.224, allocations: 392.3 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.2243, allocations: 114.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2245, allocations: 68.75 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/0.2249, allocations: 0.5583 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.2249, allocations: 34.56 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.2249, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006043/0.2256, allocations: 189.4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2256, allocations: 55.41 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2257, allocations: 167.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2257, allocations: 25.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.2258, allocations: 100 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2258, allocations: 35.53 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.2259, allocations: 21.72 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.226, allocations: 322.8 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2261, allocations: 51.89 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.2263, allocations: 47.95 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2266, allocations: 96.78 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2266, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003697/0.227, allocations: 149.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.227, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.227, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.227, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2272, allocations: 24.62 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2272, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2273, allocations: 23.83 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2273, allocations: 4 kB / 1.094 GB, free: 10.99 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.915e-05/0.2274, allocations: 125.7 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.2275, allocations: 11.91 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.2279, allocations: 154.9 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2279, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2279, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2279, allocations: 3.984 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.2281, allocations: 213.5 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2281, allocations: 0 / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.2283, allocations: 23.97 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2283, allocations: 0 / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2283, allocations: 4 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2283, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2283, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.2287, allocations: 247.2 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.2288, allocations: 96.91 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2288, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2289, allocations: 11.98 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.229, allocations: 11.98 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.229, allocations: 8 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.2291, allocations: 124.9 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2291, allocations: 0 / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002433/0.2293, allocations: 24 kB / 1.095 GB, free: 9.844 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.0006845/0.23, allocations: 0.7833 MB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.2304, allocations: 107.8 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2304, allocations: 3.938 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.2306, allocations: 59.95 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.231, allocations: 35.91 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.233, allocations: 1.773 MB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.2333, allocations: 0.7041 MB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.2333, allocations: 12.55 kB / 1.098 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.2334, allocations: 27.44 kB / 1.098 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.2334, allocations: 0 / 1.098 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.2518, allocations: 3.144 MB / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.816, allocations: 11.73 kB / 1.101 GB, free: 3.223 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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