Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006965/0.006965, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001574/0.001574, allocations: 201.7 kB / 16.68 MB, free: 5.445 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.113 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002304, allocations: 65.22 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2543, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002811/0.2571, allocations: 1.739 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2583, allocations: 0.7229 MB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.2584, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.2585, allocations: 15.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-05/0.2586, allocations: 19.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2589, allocations: 99.7 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2591, allocations: 111.6 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2592, allocations: 48.77 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.2593, allocations: 47.8 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.2594, allocations: 51.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2594, allocations: 8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.2597, allocations: 111.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2597, allocations: 19.92 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.2598, allocations: 47.73 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.26, allocations: 163.3 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2601, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2601, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2601, allocations: 4 kB / 1.091 GB, free: 14.23 MB / 0.8575 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.0006267/0.2607, allocations: 438.8 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2607, allocations: 12.03 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.2608, allocations: 12.84 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2609, allocations: 176.3 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2609, allocations: 8.375 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.261, allocations: 15.88 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2613, allocations: 125.4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2613, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2613, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2614, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.2617, allocations: 116.9 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.2623, allocations: 408.3 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.2626, allocations: 102.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.2628, allocations: 64.75 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/0.2633, allocations: 0.5699 MB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2633, allocations: 30.56 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2633, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006492/0.264, allocations: 193.5 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.264, allocations: 51.41 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2641, allocations: 159.4 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2642, allocations: 29.7 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2642, allocations: 104.1 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2643, allocations: 27.75 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.2643, allocations: 17.72 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2644, allocations: 330.8 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2646, allocations: 43.95 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.2648, allocations: 43.95 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.2651, allocations: 109.2 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2651, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003842/0.2655, allocations: 141.5 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2656, allocations: 6.031 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2656, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2656, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2658, allocations: 27.97 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2658, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2659, allocations: 15.94 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2659, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 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.912e-05/0.266, allocations: 113.8 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.266, allocations: 15.84 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.2665, allocations: 162.9 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2665, allocations: 4 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2665, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2665, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.2667, allocations: 213.5 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2667, allocations: 4 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.2669, allocations: 31.91 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2669, allocations: 4 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2669, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2669, allocations: 4 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2669, allocations: 0 / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.2674, allocations: 247.4 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.2674, allocations: 97.14 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.2675, allocations: 7.938 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2676, allocations: 11.98 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2676, allocations: 7.984 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2676, allocations: 0 / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.613e-05/0.2677, allocations: 132.9 kB / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2677, allocations: 0 / 1.095 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002505/0.268, allocations: 27.89 kB / 1.095 GB, free: 9.371 MB / 0.8575 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.0001671/0.2682, allocations: 115.2 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.2686, allocations: 99.86 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2686, allocations: 0 / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2688, allocations: 63.89 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2692, allocations: 41.58 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.2696, allocations: 222.7 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.2698, allocations: 0.7041 MB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.148e-05/0.2699, allocations: 8.547 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.27, allocations: 15.44 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of SimCode: time 2.184e-06/0.27, allocations: 384 / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of Templates: time 0.004391/0.2744, allocations: 1.617 MB / 1.098 GB, free: 6.453 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches