Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_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.001665/0.001665, 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.002295/0.002295, allocations: 194.7 kB / 16.26 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 2.11/2.11, 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 11.0.1-master/package.mo): time 3.234/3.234, allocations: 461.9 MB / 0.7344 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 66.3 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3613, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.005082/0.3664, allocations: 1.79 MB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3678, allocations: 0.7249 MB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3679, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.368, allocations: 7.922 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3681, allocations: 27.78 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.3686, allocations: 75.88 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3688, allocations: 107.6 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.369, allocations: 45.03 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.3691, allocations: 39.86 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.3692, allocations: 51.7 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3692, allocations: 15.98 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.3694, allocations: 107.8 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.3695, allocations: 23.91 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.3695, allocations: 55.72 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.3698, allocations: 143.6 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3698, allocations: 4 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3699, allocations: 0 / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3699, allocations: 4 kB / 1.056 GB, free: 5.453 MB / 0.8106 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.0007623/0.3706, allocations: 435 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3707, allocations: 12.62 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.3708, allocations: 42.73 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3708, allocations: 12.75 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.371, allocations: 190.8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.371, allocations: 16.31 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.371, allocations: 8.375 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.3714, allocations: 117.7 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3714, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3714, allocations: 8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3714, allocations: 3.938 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.3718, allocations: 115.9 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.3725, allocations: 392.2 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.3728, allocations: 106.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.373, allocations: 68.86 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.3736, allocations: 0.5583 MB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3736, allocations: 38.56 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3736, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006757/0.3743, allocations: 189.4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3744, allocations: 55.41 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3746, allocations: 164 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3746, allocations: 25.7 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.3747, allocations: 100.1 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3747, allocations: 39.53 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.3748, allocations: 25.72 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3749, allocations: 322.8 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3751, allocations: 43.95 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3753, allocations: 43.97 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.3756, allocations: 101.3 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3756, allocations: 0 / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00038/0.376, allocations: 149.3 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.376, allocations: 7.938 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.376, allocations: 4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3761, allocations: 7.984 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.3762, allocations: 19.98 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3762, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3763, allocations: 23.81 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3764, allocations: 7.938 kB / 1.059 GB, free: 1.695 MB / 0.8106 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 0.0001014/0.3765, allocations: 119.4 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3765, allocations: 15.78 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.3769, allocations: 158.9 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.377, allocations: 0 / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.377, allocations: 0 / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.377, allocations: 0 / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3772, allocations: 205.6 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3772, allocations: 7.984 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3774, allocations: 19.98 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3774, allocations: 3.938 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3774, allocations: 8 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3774, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3774, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.3778, allocations: 243.2 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.3779, allocations: 96.94 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3779, allocations: 0 / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3781, allocations: 12.27 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.3781, allocations: 11.98 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.3781, allocations: 0 / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000109/0.3783, allocations: 127.9 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3783, allocations: 4 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002585/0.3785, allocations: 28 kB / 1.06 GB, free: 0.5586 MB / 0.8106 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.0007905/0.3793, allocations: 0.7863 MB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.3798, allocations: 111.8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3798, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.3799, allocations: 51.97 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3804, allocations: 31.97 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.3828, allocations: 1.803 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3831, allocations: 0.708 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.043e-05/0.3832, allocations: 4.562 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.3833, allocations: 35.42 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3833, allocations: 4 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2515/0.6348, allocations: 2.898 MB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003689/0.6352, allocations: 234.1 kB / 1.066 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.046/5.682, allocations: 0 / 1.066 GB, free: 9.93 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches