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.00727/0.00727, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001746/0.001746, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 69.39 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2806, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002767/0.2835, allocations: 1.742 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2847, allocations: 0.7267 MB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.2848, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.283e-05/0.2848, allocations: 11.86 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.2849, allocations: 19.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.2853, allocations: 99.69 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2854, allocations: 115.6 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2856, allocations: 48.78 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.2856, allocations: 47.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.2857, allocations: 51.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2857, allocations: 12 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.286, allocations: 111.9 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.286, allocations: 19.92 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.2861, allocations: 47.73 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.2863, allocations: 163.5 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2863, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2863, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2863, allocations: 0 / 1.091 GB, free: 14.24 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.0006905/0.287, allocations: 443 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2871, allocations: 8.031 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2871, allocations: 12.75 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2872, allocations: 180.2 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2873, allocations: 8.375 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.2873, allocations: 11.88 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.2876, allocations: 122.9 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2876, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2877, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2877, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.288, allocations: 115.9 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.2886, allocations: 400.2 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.2889, allocations: 106.5 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.2891, allocations: 60.81 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/0.2896, allocations: 0.5661 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2896, allocations: 30.56 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.2896, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006375/0.2903, allocations: 197.3 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.2903, allocations: 55.41 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2905, allocations: 159.4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2905, allocations: 26.08 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.2905, allocations: 104 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2906, allocations: 27.56 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.2906, allocations: 21.72 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2907, allocations: 334.8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.2909, allocations: 43.95 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.2911, allocations: 47.89 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.2914, allocations: 96.78 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.2914, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003794/0.2918, allocations: 141.4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2918, allocations: 8 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2918, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2919, allocations: 3.984 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.292, allocations: 23.97 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.292, allocations: 8 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2921, allocations: 19.83 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2922, allocations: 0 / 1.094 GB, free: 10.55 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 0.0001545/0.2923, allocations: 117.8 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.2924, allocations: 19.78 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.2928, allocations: 155.3 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2929, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2929, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2929, allocations: 4.031 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2931, allocations: 221.4 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2931, allocations: 0 / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2933, allocations: 27.97 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2933, allocations: 4 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.2933, allocations: 4 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2933, allocations: 0 / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2933, allocations: 0 / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.2937, allocations: 239.2 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.2938, allocations: 96.91 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.2938, allocations: 12 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.294, allocations: 11.92 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.294, allocations: 7.984 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.294, allocations: 8 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.95e-05/0.2941, allocations: 124.9 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2941, allocations: 0 / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000246/0.2944, allocations: 20 kB / 1.095 GB, free: 9.402 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.0001663/0.2946, allocations: 115.2 kB / 1.095 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.295, allocations: 107.9 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.295, allocations: 0 / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2952, allocations: 55.89 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.2956, allocations: 45.66 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.296, allocations: 228 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.2963, allocations: 0.7041 MB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.931e-05/0.2964, allocations: 8.547 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.2964, allocations: 15.44 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2964, allocations: 0 / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.004149/0.3006, allocations: 1.613 MB / 1.098 GB, free: 6.48 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