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.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001234/0.001235, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.338/2.338, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5047, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002528/0.5072, allocations: 1.782 MB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.5082, allocations: 0.7238 MB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.5082, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.5083, allocations: 7.922 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.5083, allocations: 15.88 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.5087, allocations: 83.84 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.5088, allocations: 111.6 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.5089, allocations: 37.11 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.509, allocations: 39.84 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.509, allocations: 59.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.5091, allocations: 8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.5093, allocations: 103.9 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.5093, allocations: 23.92 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.5093, allocations: 47.73 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.5095, allocations: 155.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5095, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5095, allocations: 7.938 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.5096, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 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.0005446/0.5101, allocations: 446.9 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5101, allocations: 8.031 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.5102, allocations: 42.75 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.5102, allocations: 8.844 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.5103, allocations: 188.1 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5103, allocations: 12.38 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.5104, allocations: 4.375 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.5107, allocations: 123.3 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.5107, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.5107, allocations: 8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.5107, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.511, allocations: 119.9 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.5115, allocations: 400.2 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.5118, allocations: 110.6 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.512, allocations: 64.81 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.5124, allocations: 0.5583 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.5124, allocations: 34.5 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.5124, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005599/0.513, allocations: 193.4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.513, allocations: 59.39 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.5132, allocations: 161.5 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.5132, allocations: 25.7 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.5132, allocations: 100.1 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.5133, allocations: 31.55 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.5133, allocations: 21.72 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.5134, allocations: 322.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5136, allocations: 43.95 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.5137, allocations: 48.33 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.514, allocations: 104.8 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.514, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000341/0.5144, allocations: 141.4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5144, allocations: 11.94 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5144, allocations: 7.938 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5144, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.5146, allocations: 23.97 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5146, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.5147, allocations: 19.92 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.5147, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 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.694e-05/0.5148, allocations: 118.4 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.5148, allocations: 23.75 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.5152, allocations: 150.9 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5152, allocations: 3.938 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5152, allocations: 3.984 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5152, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.5154, allocations: 217.5 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5154, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.5156, allocations: 27.91 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5156, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.5156, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5156, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5156, allocations: 192 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.516, allocations: 247.2 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.5161, allocations: 96.94 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.5161, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5162, allocations: 11.98 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5163, allocations: 7.984 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.5163, allocations: 12 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.5164, allocations: 126.3 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5164, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002304/0.5166, allocations: 20 kB / 1.024 GB, free: 10.61 MB / 0.7794 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.0006429/0.5172, allocations: 0.7903 MB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.5176, allocations: 107.8 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5176, allocations: 0 / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5178, allocations: 59.89 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.5181, allocations: 36.47 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5201, allocations: 1.781 MB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.5203, allocations: 0.7079 MB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.5204, allocations: 8.547 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.5204, allocations: 31.44 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5204, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5234/1.044, allocations: 2.91 MB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/1.044, allocations: 228.4 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.744, allocations: 0 / 1.031 GB, free: 3.98 MB / 0.7794 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