Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DryWetSelector,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_10_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.004429/0.004433, allocations: 99.77 kB / 15.73 MB, free: 6.055 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.001071/0.001071, allocations: 199.2 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.343/1.343, 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 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2765, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003056/0.2796, allocations: 1.728 MB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2809, allocations: 0.7204 MB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.281, allocations: 4 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.2811, allocations: 15.75 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.2812, allocations: 23.78 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.2817, allocations: 91.72 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.2818, allocations: 115.6 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.282, allocations: 33.11 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2821, allocations: 43.84 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.2822, allocations: 51.77 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.2822, allocations: 8 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.2825, allocations: 111.8 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.2825, allocations: 23.92 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.2826, allocations: 51.72 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2829, allocations: 156.3 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2829, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2829, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2829, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 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.0006652/0.2836, allocations: 443.1 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2836, allocations: 11.97 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.2837, allocations: 46.69 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.2837, allocations: 20.69 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2839, allocations: 182.8 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2839, allocations: 8.375 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.2839, allocations: 12.38 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.2842, allocations: 119.3 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2842, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2843, allocations: 7.984 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2843, allocations: 4 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.2846, allocations: 111.9 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.2852, allocations: 400.2 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.2855, allocations: 106.6 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.2857, allocations: 68.75 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.2862, allocations: 0.5544 MB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.2862, allocations: 34.56 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.2862, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005953/0.2868, allocations: 193.3 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2869, allocations: 55.41 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.287, allocations: 165.7 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.287, allocations: 25.7 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.2871, allocations: 104 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.2871, allocations: 27.56 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.2872, allocations: 17.72 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2873, allocations: 326.8 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.2875, allocations: 47.95 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2876, allocations: 43.95 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.2879, allocations: 105.2 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2879, allocations: 0 / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003565/0.2883, allocations: 145.5 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2883, allocations: 10.28 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2883, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2884, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2885, allocations: 27.97 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2885, allocations: 0 / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2886, allocations: 27.77 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2887, allocations: 4 kB / 1.173 GB, free: 308 kB / 0.92 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.757e-05/0.2888, allocations: 117.8 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.2888, allocations: 11.84 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004345/0.2892, allocations: 158.9 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.2893, allocations: 80 / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2893, allocations: 8 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2893, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.2895, allocations: 209.5 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2895, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2897, allocations: 31.91 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2897, allocations: 3.938 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2897, allocations: 4 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2897, allocations: 0 / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2897, allocations: 4 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.2901, allocations: 239.4 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.2902, allocations: 104.8 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2902, allocations: 4 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2903, allocations: 15.98 kB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2904, allocations: 11.98 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2904, allocations: 0 / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.625e-05/0.2905, allocations: 124.2 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2905, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002541/0.2908, allocations: 28 kB / 1.174 GB, free: 15.14 MB / 0.9356 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.0007718/0.2916, allocations: 0.7825 MB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.292, allocations: 103.9 kB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.292, allocations: 4 kB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.2921, allocations: 59.89 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.2926, allocations: 36.38 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2949, allocations: 1.767 MB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2952, allocations: 0.7042 MB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.745e-05/0.2953, allocations: 20.47 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.2954, allocations: 31.42 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.2954, allocations: 0 / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.3155, allocations: 3.132 MB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.923, allocations: 17.17 kB / 1.18 GB, free: 8.52 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches