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.004698/0.004698, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001371/0.001371, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.334/2.334, allocations: 437.1 MB / 0.7106 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 71.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.236, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002502/0.2386, allocations: 1.72 MB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2396, allocations: 0.7256 MB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.2397, allocations: 0 / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.2397, allocations: 11.81 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.2398, allocations: 27.78 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.2401, allocations: 99.64 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.2402, allocations: 111.6 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2404, allocations: 41.09 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.2404, allocations: 47.78 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.2405, allocations: 47.77 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2405, allocations: 12 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.2407, allocations: 111.9 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.2408, allocations: 15.92 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.2408, allocations: 55.72 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.2411, allocations: 159.4 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2411, allocations: 0 / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2411, allocations: 3.938 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2411, allocations: 4 kB / 1.169 GB, free: 4.004 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.00059/0.2417, allocations: 450.7 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2417, allocations: 8.031 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.2418, allocations: 38.75 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.2418, allocations: 12.84 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2419, allocations: 182.7 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2419, allocations: 12.38 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.242, allocations: 8.375 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.2423, allocations: 121.7 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2423, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2423, allocations: 4 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2423, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.2427, allocations: 121.5 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.2432, allocations: 400.2 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.2435, allocations: 106.5 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.2437, allocations: 68.81 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/0.2441, allocations: 0.5544 MB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2442, allocations: 34.56 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2442, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005965/0.2448, allocations: 197.6 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2448, allocations: 55.41 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.245, allocations: 161.3 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.245, allocations: 29.64 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.2451, allocations: 100.1 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2451, allocations: 27.75 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.2451, allocations: 33.7 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2453, allocations: 314.8 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2454, allocations: 43.95 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.2456, allocations: 47.95 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2459, allocations: 104.7 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2459, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003644/0.2463, allocations: 141.5 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2463, allocations: 11.94 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2463, allocations: 4 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2463, allocations: 7.938 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2465, allocations: 23.97 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.2465, allocations: 0 / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.2466, allocations: 27.86 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2466, allocations: 4 kB / 1.173 GB, free: 256 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.145e-05/0.2467, allocations: 113.8 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.2467, allocations: 15.89 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.2472, allocations: 163.1 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2472, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2472, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2472, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2474, allocations: 217.5 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2474, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.2476, allocations: 27.97 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2476, allocations: 3.938 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2476, allocations: 8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2476, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2476, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.248, allocations: 239.4 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.2481, allocations: 100.9 kB / 1.173 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2481, allocations: 4 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2482, allocations: 7.984 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.2483, allocations: 11.98 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.2483, allocations: 4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.2484, allocations: 124.9 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2484, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002224/0.2486, allocations: 31.94 kB / 1.174 GB, free: 15.1 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.0007164/0.2493, allocations: 0.7825 MB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.2497, allocations: 112.1 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2497, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2499, allocations: 59.89 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2503, allocations: 31.97 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.2524, allocations: 1.771 MB / 1.176 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.2527, allocations: 0.7002 MB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.587e-05/0.2527, allocations: 16.55 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.2528, allocations: 31.42 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2528, allocations: 0 / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/0.3871, allocations: 3.138 MB / 1.18 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.927, allocations: 22.28 kB / 1.18 GB, free: 8.473 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=400 --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