Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000754/0.000754, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.865/0.865, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.686/1.686, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.013e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00208/0.0021, allocations: 1.712 MB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003187, allocations: 0.7321 MB / 0.9834 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.003248, allocations: 0 / 0.9834 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.003285, allocations: 15.86 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.003343, allocations: 23.73 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.003752, allocations: 103.6 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003871, allocations: 119.5 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003976, allocations: 29.22 kB / 0.9837 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.004063, allocations: 63.83 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.004112, allocations: 35.88 kB / 0.9838 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.004131, allocations: 12 kB / 0.9838 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.004358, allocations: 119.8 kB / 0.9839 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.004378, allocations: 23.92 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004412, allocations: 31.91 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.004614, allocations: 175.5 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004616, allocations: 0 / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.004618, allocations: 0 / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004622, allocations: 0 / 0.9841 GB, free: 15.37 MB / 0.948 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.0004686/0.00509, allocations: 377.6 kB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.005133, allocations: 8.031 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.005171, allocations: 46.67 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.005202, allocations: 16.84 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.005292, allocations: 121.6 kB / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.00531, allocations: 12.38 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005327, allocations: 16.36 kB / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.005559, allocations: 128 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005566, allocations: 4.188 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.005577, allocations: 4.125 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005583, allocations: 4 kB / 0.9848 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.005779, allocations: 111.8 kB / 0.9849 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.006206, allocations: 343.6 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.00646, allocations: 106.6 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.006564, allocations: 60.81 kB / 0.9854 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.006733, allocations: 39.91 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.006752, allocations: 34.56 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.006754, allocations: 0 / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0003659/0.00712, allocations: 189.4 kB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.007149, allocations: 59.33 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.007248, allocations: 165.2 kB / 0.9859 GB, free: 13.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.007263, allocations: 25.7 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.007307, allocations: 104.1 kB / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.007335, allocations: 35.69 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.007368, allocations: 17.72 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.007448, allocations: 326.8 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.007538, allocations: 43.95 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.897e-05/0.007617, allocations: 43.95 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.00779, allocations: 105.3 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007792, allocations: 4 kB / 0.9865 GB, free: 12.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002091/0.008001, allocations: 141.5 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.008015, allocations: 4 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.00802, allocations: 0 / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.008034, allocations: 7.938 kB / 0.9867 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.008107, allocations: 23.97 kB / 0.9867 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008112, allocations: 4 kB / 0.9867 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.008162, allocations: 23.88 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.008169, allocations: 4 kB / 0.9867 GB, free: 12.47 MB / 0.948 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.151e-05/0.00824, allocations: 113.8 kB / 0.9868 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.008263, allocations: 11.91 kB / 0.9869 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.008528, allocations: 163 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008531, allocations: 3.938 kB / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.008536, allocations: 0 / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.00854, allocations: 3.984 kB / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.008678, allocations: 164.7 kB / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008679, allocations: 0 / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.008745, allocations: 27.91 kB / 0.9872 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.008749, allocations: 4 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.008756, allocations: 0 / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008758, allocations: 7.938 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.008761, allocations: 4 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.009004, allocations: 239.3 kB / 0.9875 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.009038, allocations: 19.94 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.009052, allocations: 0 / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.009114, allocations: 19.92 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.009155, allocations: 4.266 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.009161, allocations: 8 kB / 0.9875 GB, free: 11.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.009233, allocations: 125.6 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009233, allocations: 7.875 kB / 0.9876 GB, free: 11.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000185/0.009418, allocations: 27.94 kB / 0.9877 GB, free: 11.46 MB / 0.948 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.0004962/0.009915, allocations: 0.7864 MB / 0.9884 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.01015, allocations: 111.8 kB / 0.9885 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01015, allocations: 0 / 0.9885 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.01024, allocations: 55.89 kB / 0.9886 GB, free: 10.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01055, allocations: 35.91 kB / 0.9886 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.01228, allocations: 1.772 MB / 0.9903 GB, free: 8.594 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.126e-05/0.01234, allocations: 84.33 kB / 0.9904 GB, free: 8.492 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.338e-05/0.0124, allocations: 12.48 kB / 0.9904 GB, free: 8.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.01245, allocations: 36.48 kB / 0.9905 GB, free: 8.445 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.01245, allocations: 0 / 0.9905 GB, free: 8.445 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.03225, allocations: 4.059 MB / 0.9944 GB, free: 4.562 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/6.887, allocations: 9.078 kB / 0.9944 GB, free: 4.559 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.845349638722837]