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.001431/0.001431, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.484/2.484, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 64.61 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2395, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002624/0.2422, allocations: 1.721 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.2432, allocations: 0.7287 MB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.2432, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.2433, allocations: 7.875 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.2433, allocations: 27.72 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2437, allocations: 95.72 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2438, allocations: 107.6 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2439, allocations: 37.05 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.244, allocations: 51.83 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.244, allocations: 51.7 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2441, allocations: 12 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2443, allocations: 107.9 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.2443, allocations: 23.91 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.2444, allocations: 47.73 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2446, allocations: 147.6 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2446, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2446, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2446, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 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.0005751/0.2452, allocations: 443 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2452, allocations: 12.03 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.2453, allocations: 46.67 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.2453, allocations: 20.69 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2454, allocations: 189.1 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2455, allocations: 8.375 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2455, allocations: 8.375 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2458, allocations: 129.7 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2458, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2458, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2458, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.2462, allocations: 115.8 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.2467, allocations: 396.3 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.2469, allocations: 102.6 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2471, allocations: 68.81 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/0.2476, allocations: 0.5622 MB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.2476, allocations: 34.56 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.2476, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005753/0.2482, allocations: 189.4 kB / 1.069 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2483, allocations: 55.41 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2484, allocations: 161.2 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2484, allocations: 25.7 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2485, allocations: 108 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.2485, allocations: 27.56 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.2486, allocations: 29.7 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2487, allocations: 318.8 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.2488, allocations: 39.97 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.249, allocations: 47.95 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.2493, allocations: 109.2 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2493, allocations: 0 / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003567/0.2497, allocations: 137.5 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2497, allocations: 11.92 kB / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2497, allocations: 0 / 1.07 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2497, allocations: 4 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.2499, allocations: 23.98 kB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2499, allocations: 3.984 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.25, allocations: 19.83 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.25, allocations: 11.98 kB / 1.07 GB, free: 7.242 MB / 0.8262 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.39e-05/0.2501, allocations: 121.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2501, allocations: 11.84 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.2506, allocations: 158.9 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2506, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2506, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2506, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2508, allocations: 209.5 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2508, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.2509, allocations: 35.91 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2509, allocations: 3.938 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2509, allocations: 8 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.251, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.251, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.2514, allocations: 243.4 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.2514, allocations: 100.8 kB / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2515, allocations: 0 / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2516, allocations: 11.98 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.2516, allocations: 11.98 kB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2516, allocations: 0 / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.456e-05/0.2517, allocations: 129.6 kB / 1.071 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2517, allocations: 0 / 1.071 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002228/0.252, allocations: 28 kB / 1.072 GB, free: 6.094 MB / 0.8262 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.0007071/0.2527, allocations: 0.7864 MB / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.2531, allocations: 107.9 kB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2531, allocations: 0 / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2532, allocations: 59.89 kB / 1.072 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2536, allocations: 36.47 kB / 1.072 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.2556, allocations: 1.767 MB / 1.074 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2559, allocations: 0.7041 MB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.96e-05/0.256, allocations: 4.562 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.2561, allocations: 35.42 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2561, allocations: 3.938 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8911/1.147, allocations: 3.081 MB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.81, allocations: 6.172 kB / 1.078 GB, free: 15.52 MB / 0.8419 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