Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DryWetSelector,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_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.007729/0.007729, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.002137/0.002137, allocations: 192 kB / 16.67 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003308/0.003308, allocations: 67.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2913, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003102/0.2945, allocations: 1.728 MB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2957, allocations: 0.7168 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.2958, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.2958, allocations: 11.86 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.2959, allocations: 23.73 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.2963, allocations: 95.7 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.2965, allocations: 115.6 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2966, allocations: 41.09 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.2967, allocations: 39.86 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.2968, allocations: 51.7 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2968, allocations: 8 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.2971, allocations: 111.9 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.2971, allocations: 23.92 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.2972, allocations: 47.73 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2974, allocations: 167.3 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2974, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2974, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2975, allocations: 3.938 kB / 1.223 GB, free: 11.07 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.0006649/0.2981, allocations: 442.8 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2982, allocations: 12.03 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2982, allocations: 46.73 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2983, allocations: 16.84 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2984, allocations: 176.2 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2984, allocations: 8.375 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2985, allocations: 12.38 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.2988, allocations: 128 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2988, allocations: 3.984 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2988, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2989, allocations: 8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.2993, allocations: 107.9 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.2998, allocations: 400.4 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.3002, allocations: 110.5 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.3004, allocations: 60.86 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.3009, allocations: 0.5622 MB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.301, allocations: 38.56 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.301, allocations: 0 / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006695/0.3016, allocations: 189.4 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3017, allocations: 51.41 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3018, allocations: 172 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3019, allocations: 25.7 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.3019, allocations: 108.1 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.302, allocations: 31.75 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.302, allocations: 21.66 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3022, allocations: 322.8 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3024, allocations: 43.95 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3026, allocations: 44.34 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.3029, allocations: 104.9 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3029, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000425/0.3033, allocations: 145.5 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3034, allocations: 7.938 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3034, allocations: 0 / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3034, allocations: 0 / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3036, allocations: 23.98 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3036, allocations: 7.922 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3037, allocations: 23.88 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3037, allocations: 4 kB / 1.227 GB, free: 7.305 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 9.12e-05/0.3038, allocations: 117.8 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.3039, allocations: 15.84 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.3043, allocations: 154.9 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3044, allocations: 4 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3044, allocations: 4 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.3044, allocations: 0 / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.3046, allocations: 213.5 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3046, allocations: 0 / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.3048, allocations: 27.98 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3048, allocations: 3.938 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3048, allocations: 4 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3048, allocations: 0 / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3048, allocations: 0 / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.3053, allocations: 255.4 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3054, allocations: 96.98 kB / 1.227 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.3054, allocations: 0 / 1.227 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3055, allocations: 15.97 kB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.3056, allocations: 12 kB / 1.227 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3056, allocations: 0 / 1.227 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000103/0.3057, allocations: 123.9 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3057, allocations: 3.938 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002625/0.306, allocations: 28 kB / 1.228 GB, free: 6.137 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.0008106/0.3068, allocations: 0.783 MB / 1.228 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.3072, allocations: 107.8 kB / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3072, allocations: 0 / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3074, allocations: 63.95 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3078, allocations: 25.98 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3103, allocations: 1.787 MB / 1.23 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3106, allocations: 0.6963 MB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.326e-05/0.3107, allocations: 16.55 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.3108, allocations: 31.42 kB / 1.231 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3108, allocations: 4 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.3344, allocations: 3.133 MB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.961, allocations: 16.61 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches