Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 108.1 kB / 16.36 MB, free: 5.824 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.001352/0.001352, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.52 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003348/0.3152, allocations: 1.725 MB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3165, allocations: 0.7346 MB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.3167, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.258e-05/0.3168, allocations: 7.875 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.3169, allocations: 27.72 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3173, allocations: 99.7 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3174, allocations: 107.6 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3176, allocations: 37.05 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.106e-05/0.3177, allocations: 47.84 kB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.3178, allocations: 55.69 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3178, allocations: 8 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.318, allocations: 99.91 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.318, allocations: 27.91 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.3181, allocations: 51.72 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3183, allocations: 151.5 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3184, allocations: 7.938 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3184, allocations: 0 / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3184, allocations: 0 / 1.022 GB, free: 6.621 MB / 0.795 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.0006724/0.3191, allocations: 447 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3191, allocations: 16.88 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3192, allocations: 8.844 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3193, allocations: 190 kB / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3193, allocations: 4.375 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3194, allocations: 8.375 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.3197, allocations: 125.9 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3197, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3197, allocations: 8 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3197, allocations: 0 / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.3201, allocations: 107.9 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3207, allocations: 404.1 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.321, allocations: 106.5 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.3212, allocations: 60.86 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/0.3217, allocations: 0.57 MB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3217, allocations: 30.56 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.3217, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005794/0.3223, allocations: 189.4 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3223, allocations: 59.34 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3225, allocations: 164.3 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3225, allocations: 29.7 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.3226, allocations: 100.1 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3226, allocations: 31.55 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3227, allocations: 21.72 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3228, allocations: 322.8 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.323, allocations: 47.89 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3231, allocations: 44.34 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.3234, allocations: 104.9 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3234, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003469/0.3238, allocations: 145.4 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3238, allocations: 7.938 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3238, allocations: 4 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3238, allocations: 3.984 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.324, allocations: 19.98 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.324, allocations: 4 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3241, allocations: 27.81 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3241, allocations: 4 kB / 1.025 GB, free: 2.914 MB / 0.795 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 9.423e-05/0.3242, allocations: 117.8 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.3243, allocations: 11.84 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.3247, allocations: 162.9 kB / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3247, allocations: 0 / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3247, allocations: 0 / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3247, allocations: 0 / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.325, allocations: 213.6 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.325, allocations: 0 / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3251, allocations: 19.98 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3251, allocations: 7.938 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3251, allocations: 4 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3251, allocations: 0 / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3251, allocations: 192 / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.3255, allocations: 243.2 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.3256, allocations: 97 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3256, allocations: 3.938 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3258, allocations: 19.97 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3258, allocations: 7.938 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3258, allocations: 4 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.943e-05/0.3259, allocations: 124 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3259, allocations: 0 / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002448/0.3262, allocations: 23.98 kB / 1.026 GB, free: 1.781 MB / 0.795 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.0001946/0.3264, allocations: 119.2 kB / 1.026 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.3268, allocations: 103.8 kB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3268, allocations: 0 / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.3269, allocations: 59.95 kB / 1.026 GB, free: 1.492 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3273, allocations: 29.95 kB / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.3278, allocations: 231.9 kB / 1.027 GB, free: 1.207 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.328, allocations: 0.7041 MB / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.3281, allocations: 12.55 kB / 1.027 GB, free: 476 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3281, allocations: 11.44 kB / 1.027 GB, free: 464 kB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3281, allocations: 0 / 1.027 GB, free: 464 kB / 0.795 GB Notification: Performance of Templates: time 0.004198/0.3323, allocations: 1.616 MB / 1.029 GB, free: 14.86 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches