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.001737/0.001737, allocations: 79.73 kB / 19.76 MB, free: 1.879 MB / 14.72 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.001892/0.001892, allocations: 158 kB / 23.01 MB, free: 4.574 MB / 14.72 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 1.526/1.526, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.929/2.929, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 63.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.183, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002666/1.186, allocations: 1.714 MB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001081/1.187, allocations: 0.7297 MB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/1.187, allocations: 0 / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/1.187, allocations: 7.875 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/1.187, allocations: 25.81 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/1.187, allocations: 105.9 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/1.187, allocations: 113.8 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/1.187, allocations: 31.48 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/1.188, allocations: 53.2 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/1.188, allocations: 42.58 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/1.188, allocations: 8.031 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/1.188, allocations: 113.8 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/1.188, allocations: 25.58 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/1.188, allocations: 37.12 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/1.188, allocations: 169.4 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.188, allocations: 4 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.903e-06/1.188, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.188, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 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.0005949/1.189, allocations: 373.1 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.189, allocations: 10.16 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/1.189, allocations: 10.02 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/1.189, allocations: 129.9 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.189, allocations: 6.219 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/1.189, allocations: 17.66 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/1.189, allocations: 127.9 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.189, allocations: 0 / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.189, allocations: 4 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.189, allocations: 6.5 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/1.19, allocations: 105 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/1.19, allocations: 308.2 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/1.19, allocations: 105.2 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/1.191, allocations: 61.92 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/1.191, allocations: 37.83 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/1.191, allocations: 30.56 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/1.191, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0005883/1.191, allocations: 187.9 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/1.192, allocations: 51.41 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/1.192, allocations: 136 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/1.192, allocations: 25.7 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/1.192, allocations: 112.2 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/1.192, allocations: 26.88 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/1.192, allocations: 26.38 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/1.192, allocations: 317.6 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.192, allocations: 45.73 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/1.192, allocations: 46.02 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/1.192, allocations: 104 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/1.192, allocations: 0 / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003594/1.193, allocations: 138.3 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.193, allocations: 5.656 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.193, allocations: 4 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.193, allocations: 3.938 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.193, allocations: 23.14 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.193, allocations: 3.375 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/1.193, allocations: 16.03 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/1.193, allocations: 0 / 1.16 GB, free: 29.54 MB / 1.076 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 6.392e-05/1.193, allocations: 115.5 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/1.193, allocations: 14.75 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/1.194, allocations: 153.2 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.194, allocations: 7.922 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.194, allocations: 3.031 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.194, allocations: 7.875 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.194, allocations: 147.9 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.194, allocations: 0 / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.194, allocations: 24.59 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.194, allocations: 0 / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.194, allocations: 13.94 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.194, allocations: 0 / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.194, allocations: 3.938 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/1.194, allocations: 236.6 kB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/1.194, allocations: 18.23 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.194, allocations: 4 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.194, allocations: 12.45 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/1.194, allocations: 10.06 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/1.194, allocations: 4 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.924e-05/1.194, allocations: 100.6 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.194, allocations: 0 / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002516/1.195, allocations: 34.86 kB / 1.16 GB, free: 28.89 MB / 1.076 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.0001425/1.195, allocations: 109.6 kB / 1.16 GB, free: 28.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003766/1.195, allocations: 108.9 kB / 1.161 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.195, allocations: 0 / 1.161 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/1.195, allocations: 54.17 kB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/1.196, allocations: 26.81 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/1.196, allocations: 243.3 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/1.196, allocations: 83.12 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.955e-05/1.196, allocations: 10.42 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/1.196, allocations: 14.56 kB / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.196, allocations: 0 / 1.161 GB, free: 28.49 MB / 1.076 GB Notification: Performance of Templates: time 0.004291/1.201, allocations: 1.448 MB / 1.162 GB, free: 28.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.770974884042516]