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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001083/0.001083, allocations: 91.38 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.508/1.508, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003994, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8115, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001903/0.8134, allocations: 1.453 MB / 0.9571 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.8145, allocations: 0.7186 MB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.8146, allocations: 1.156 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.8146, allocations: 11.86 kB / 0.9579 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.8147, allocations: 19.34 kB / 0.9579 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.815, allocations: 63.06 kB / 0.9579 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.8152, allocations: 103.5 kB / 0.958 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.8153, allocations: 41.09 kB / 0.9581 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.8154, allocations: 35.47 kB / 0.9581 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.8155, allocations: 39.69 kB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.8155, allocations: 4.969 kB / 0.9582 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.8157, allocations: 109.4 kB / 0.9583 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.8158, allocations: 19.61 kB / 0.9583 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.8158, allocations: 64.88 kB / 0.9583 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.816, allocations: 114.8 kB / 0.9584 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.816, allocations: 1.594 kB / 0.9584 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.816, allocations: 0 / 0.9584 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.816, allocations: 0 / 0.9584 GB, free: 5.551 MB / 0.7169 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.0005652/0.8166, allocations: 432 kB / 0.9589 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8166, allocations: 10.84 kB / 0.9589 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.8167, allocations: 14.09 kB / 0.9589 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.8168, allocations: 185.5 kB / 0.9591 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8168, allocations: 7.906 kB / 0.9591 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.8168, allocations: 15.31 kB / 0.9591 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.8172, allocations: 132.4 kB / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8172, allocations: 0 / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.8172, allocations: 1.375 kB / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.8172, allocations: 2.75 kB / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.8176, allocations: 136.5 kB / 0.9593 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.8182, allocations: 401.8 kB / 0.9597 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.8185, allocations: 118.2 kB / 0.9598 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.8187, allocations: 82.75 kB / 0.9599 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.8191, allocations: 0.5554 MB / 0.9605 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.8192, allocations: 47.66 kB / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.8192, allocations: 0 / 0.9605 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007031/0.8199, allocations: 214.8 kB / 0.9607 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.8199, allocations: 52.78 kB / 0.9608 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.82, allocations: 171 kB / 0.9609 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.8201, allocations: 27.08 kB / 0.961 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.8201, allocations: 104.2 kB / 0.9611 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.8201, allocations: 30.3 kB / 0.9611 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.8202, allocations: 12.47 kB / 0.9611 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.8203, allocations: 325.6 kB / 0.9614 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.8204, allocations: 58.33 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.8206, allocations: 62.27 kB / 0.9615 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.821, allocations: 118.9 kB / 0.9616 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.821, allocations: 0 / 0.9616 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004072/0.8214, allocations: 164.5 kB / 0.9618 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8214, allocations: 11.38 kB / 0.9618 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8214, allocations: 96 / 0.9618 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8215, allocations: 5.312 kB / 0.9618 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.8216, allocations: 33.91 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8216, allocations: 1.375 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.8218, allocations: 33.58 kB / 0.9619 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.8218, allocations: 1.375 kB / 0.9619 GB, free: 2.52 MB / 0.7169 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.8218, allocations: 114 kB / 0.962 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.8219, allocations: 13.34 kB / 0.962 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.8224, allocations: 179.5 kB / 0.9622 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8224, allocations: 1.219 kB / 0.9622 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.8224, allocations: 0 / 0.9622 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8224, allocations: 5.188 kB / 0.9622 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.8226, allocations: 219 kB / 0.9624 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.8226, allocations: 3.938 kB / 0.9624 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.8228, allocations: 27.48 kB / 0.9624 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8228, allocations: 0 / 0.9624 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.8228, allocations: 1.25 kB / 0.9624 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.8228, allocations: 8.797 kB / 0.9624 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8228, allocations: 0 / 0.9624 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.8233, allocations: 256 kB / 0.9627 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.8233, allocations: 104.8 kB / 0.9628 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.8234, allocations: 4.953 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.8235, allocations: 19.58 kB / 0.9628 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.8235, allocations: 8.297 kB / 0.9628 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.8236, allocations: 2 kB / 0.9628 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.681e-05/0.8236, allocations: 132.8 kB / 0.9629 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8236, allocations: 1.031 kB / 0.9629 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002644/0.8239, allocations: 23.88 kB / 0.9629 GB, free: 1.605 MB / 0.7169 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.0001765/0.8241, allocations: 104.5 kB / 0.963 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.8245, allocations: 135.6 kB / 0.9632 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8246, allocations: 5.188 kB / 0.9632 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.8248, allocations: 74.58 kB / 0.9633 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.8252, allocations: 24.02 kB / 0.9633 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.8256, allocations: 289.3 kB / 0.9635 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.8258, allocations: 0.7001 MB / 0.9642 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.8258, allocations: 17.94 kB / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.8258, allocations: 0 / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of Templates: time 0.003375/0.8292, allocations: 1.449 MB / 0.9657 GB, free: 15.71 MB / 0.7325 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/jenkins1/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