Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.007999/0.007999, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.001939/0.001939, allocations: 186 kB / 16.67 MB, free: 5.926 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.82/2.82, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00313/0.2761, allocations: 1.717 MB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2775, allocations: 0.7285 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.2776, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.205e-05/0.2777, allocations: 11.81 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2778, allocations: 27.78 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.2782, allocations: 95.72 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.2784, allocations: 111.6 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2785, allocations: 41.09 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.2786, allocations: 43.84 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.2787, allocations: 51.77 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2788, allocations: 11.94 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.279, allocations: 107.8 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.2791, allocations: 23.92 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.2791, allocations: 47.73 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.2794, allocations: 163.3 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2794, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2794, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2794, allocations: 4 kB / 1.223 GB, free: 11.38 MB / 0.9825 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.000688/0.2801, allocations: 442.7 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2802, allocations: 12.03 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.2802, allocations: 42.69 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.2803, allocations: 20.84 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2804, allocations: 176.3 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2804, allocations: 4.375 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.2805, allocations: 16.38 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.2808, allocations: 127.6 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2808, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2809, allocations: 4 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2809, allocations: 4 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.2812, allocations: 115.9 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.2818, allocations: 396.5 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.2821, allocations: 106.6 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2823, allocations: 64.81 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/0.2828, allocations: 0.5622 MB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2828, allocations: 30.56 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2828, allocations: 0 / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000675/0.2835, allocations: 197.3 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2835, allocations: 55.34 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2837, allocations: 167.3 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2837, allocations: 29.7 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.2838, allocations: 100.1 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.2838, allocations: 31.75 kB / 1.225 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.2838, allocations: 21.72 kB / 1.225 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2839, allocations: 322.8 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2841, allocations: 43.95 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2843, allocations: 48.27 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.2846, allocations: 108.7 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2846, allocations: 0 / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003778/0.285, allocations: 137.5 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.285, allocations: 7.938 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.285, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.285, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2852, allocations: 31.97 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2852, allocations: 0 / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2853, allocations: 23.88 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2854, allocations: 4 kB / 1.226 GB, free: 7.625 MB / 0.9825 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 8.171e-05/0.2854, allocations: 113.8 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.2855, allocations: 15.84 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.2859, allocations: 162.9 kB / 1.226 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2859, allocations: 4 kB / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.286, allocations: 0 / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.286, allocations: 0 / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.2862, allocations: 205.5 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2862, allocations: 0 / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2863, allocations: 36.28 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2863, allocations: 3.938 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2864, allocations: 4 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2864, allocations: 4 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2864, allocations: 3.938 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.2868, allocations: 243.3 kB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.2869, allocations: 96.98 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2869, allocations: 0 / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2871, allocations: 15.98 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2871, allocations: 11.92 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2872, allocations: 0 / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.517e-05/0.2873, allocations: 124 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2873, allocations: 0 / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00025/0.2875, allocations: 24 kB / 1.227 GB, free: 6.469 MB / 0.9825 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.0007682/0.2883, allocations: 0.7942 MB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.2887, allocations: 107.8 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2887, allocations: 4 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2889, allocations: 59.89 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.2893, allocations: 44.39 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2916, allocations: 1.773 MB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2919, allocations: 0.7002 MB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.542e-05/0.292, allocations: 16.53 kB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.292, allocations: 31.44 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.292, allocations: 0 / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.3105, allocations: 3.14 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/7.808, allocations: 4.062 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches