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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.002141/0.002141, allocations: 194.9 kB / 16.26 MB, free: 6.637 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.252/2.252, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6149, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002535/0.6175, allocations: 1.795 MB / 0.951 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.6184, allocations: 0.7138 MB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.6184, allocations: 1.656 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.6185, allocations: 7.922 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.6186, allocations: 20.05 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.6189, allocations: 79.02 kB / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.619, allocations: 109 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.6192, allocations: 39.59 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.6193, allocations: 50.61 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.6193, allocations: 49.45 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.6193, allocations: 12.84 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.6196, allocations: 112.5 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.6196, allocations: 18.45 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.6196, allocations: 53.08 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.6198, allocations: 154 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6198, allocations: 1.094 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6198, allocations: 0 / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6199, allocations: 0 / 0.9524 GB, free: 6.762 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.0005364/0.6204, allocations: 448.1 kB / 0.9528 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6204, allocations: 8.406 kB / 0.9528 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.6205, allocations: 39.16 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.6205, allocations: 14.59 kB / 0.9529 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.6206, allocations: 193.9 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6206, allocations: 8.219 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.6207, allocations: 14.34 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.621, allocations: 122.5 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.621, allocations: 0 / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.621, allocations: 8.984 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.621, allocations: 2.656 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.6214, allocations: 113.8 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.6219, allocations: 396.9 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.6222, allocations: 108.1 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.6224, allocations: 68.66 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.6228, allocations: 0.5577 MB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.6228, allocations: 39.5 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.6228, allocations: 0 / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006008/0.6234, allocations: 189.7 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.6234, allocations: 52.66 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.6236, allocations: 164.1 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.6236, allocations: 25.7 kB / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.453e-05/0.6236, allocations: 100.4 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.6237, allocations: 35.7 kB / 0.955 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.6237, allocations: 23.5 kB / 0.955 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.6238, allocations: 325.2 kB / 0.9553 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.6239, allocations: 44.58 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.6241, allocations: 44.3 kB / 0.9554 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.6244, allocations: 104.3 kB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6244, allocations: 0 / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003482/0.6247, allocations: 148.4 kB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6248, allocations: 5.188 kB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6248, allocations: 1.156 kB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6248, allocations: 4 kB / 0.9556 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.625, allocations: 26.94 kB / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.625, allocations: 7.922 kB / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.6251, allocations: 16.58 kB / 0.9557 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.6251, allocations: 5.375 kB / 0.9557 GB, free: 3.68 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.393e-05/0.6252, allocations: 114.1 kB / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.6252, allocations: 17.41 kB / 0.9558 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.6256, allocations: 162.9 kB / 0.956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6256, allocations: 0 / 0.956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6256, allocations: 0 / 0.956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6256, allocations: 0 / 0.956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.6258, allocations: 206.8 kB / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6258, allocations: 0 / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.6259, allocations: 29.56 kB / 0.9562 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.6259, allocations: 1.125 kB / 0.9562 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.626, allocations: 4.938 kB / 0.9562 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.626, allocations: 5.031 kB / 0.9562 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.626, allocations: 0 / 0.9562 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.6264, allocations: 248.1 kB / 0.9564 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.6265, allocations: 100.6 kB / 0.9565 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.6265, allocations: 1.281 kB / 0.9565 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.6266, allocations: 12.23 kB / 0.9566 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.6267, allocations: 10.42 kB / 0.9566 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.6267, allocations: 6.406 kB / 0.9566 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.6268, allocations: 129.7 kB / 0.9567 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6268, allocations: 0 / 0.9567 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.627, allocations: 29.03 kB / 0.9567 GB, free: 2.766 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.000681/0.6277, allocations: 0.7851 MB / 0.9575 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.6281, allocations: 113.1 kB / 0.9576 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6282, allocations: 1.219 kB / 0.9576 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.6283, allocations: 56.98 kB / 0.9577 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.6287, allocations: 35.91 kB / 0.9577 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.6306, allocations: 1.78 MB / 0.9594 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.6308, allocations: 0.7033 MB / 0.9601 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.11e-05/0.6309, allocations: 17.89 kB / 0.9601 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.631, allocations: 34.3 kB / 0.9602 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.631, allocations: 4 kB / 0.9602 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/0.8391, allocations: 2.905 MB / 0.963 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/0.8394, allocations: 230.3 kB / 0.9632 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.656, allocations: 0 / 0.9632 GB, free: 14.07 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > 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