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.007319/0.007319, allocations: 97.62 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.00212/0.00212, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.408/2.408, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 67.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2625, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002442/0.265, allocations: 1.733 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.2659, allocations: 0.7206 MB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.266, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.266, allocations: 15.8 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.2661, allocations: 15.8 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.2664, allocations: 95.7 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.2666, allocations: 123.6 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.2667, allocations: 33.11 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.2667, allocations: 39.86 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.2668, allocations: 55.7 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.2668, allocations: 12 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.267, allocations: 111.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.2671, allocations: 23.92 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.2671, allocations: 47.73 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2673, allocations: 159.3 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2673, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2673, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2674, allocations: 3.938 kB / 1.223 GB, free: 11.03 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.0005645/0.2679, allocations: 446.8 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.268, allocations: 8.031 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.268, allocations: 46.73 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.268, allocations: 16.84 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2682, allocations: 174 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2682, allocations: 8.375 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2682, allocations: 12.38 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.2685, allocations: 132 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2685, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2685, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2685, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.2689, allocations: 107.9 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.2694, allocations: 400.4 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.2696, allocations: 98.56 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.2698, allocations: 72.8 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.2703, allocations: 0.5583 MB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2703, allocations: 34.56 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2703, allocations: 0 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.00057/0.2709, allocations: 201.3 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2709, allocations: 51.41 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2711, allocations: 168 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2711, allocations: 25.7 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.2711, allocations: 108.1 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.2712, allocations: 27.75 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.2712, allocations: 21.72 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2713, allocations: 326.8 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2715, allocations: 47.95 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2717, allocations: 39.97 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.272, allocations: 100.7 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.272, allocations: 0 / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003483/0.2723, allocations: 146.1 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2723, allocations: 11.94 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2723, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2724, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2725, allocations: 23.98 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2725, allocations: 3.984 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.2726, allocations: 23.97 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2726, allocations: 3.938 kB / 1.227 GB, free: 7.277 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 7.617e-05/0.2727, allocations: 117.8 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.2727, allocations: 23.83 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.2732, allocations: 154.9 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2732, allocations: 0 / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2732, allocations: 0 / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2732, allocations: 4 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.2734, allocations: 217.5 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2734, allocations: 3.938 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2735, allocations: 23.98 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2735, allocations: 3.938 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2735, allocations: 4 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2735, allocations: 4 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2735, allocations: 0 / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.2739, allocations: 235.3 kB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.274, allocations: 96.98 kB / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.274, allocations: 8 kB / 1.227 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.2742, allocations: 15.97 kB / 1.227 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2742, allocations: 8 kB / 1.227 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.2742, allocations: 7.938 kB / 1.227 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.2743, allocations: 120 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2743, allocations: 0 / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000218/0.2745, allocations: 27.98 kB / 1.228 GB, free: 6.113 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.0006921/0.2752, allocations: 0.7909 MB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.2756, allocations: 111.8 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2756, allocations: 0 / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2758, allocations: 59.89 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2761, allocations: 27.97 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2781, allocations: 1.778 MB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2784, allocations: 0.7041 MB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.2784, allocations: 8.562 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.2785, allocations: 31.42 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2785, allocations: 4 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.213/5.491, allocations: 3.147 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.869/14.36, allocations: 7.359 kB / 1.234 GB, free: 15.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 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.mat","/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