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.001733/0.001733, allocations: 100.1 kB / 15.88 MB, free: 12 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.002258/0.002258, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.543/1.543, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.476/2.476, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7574, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002771/0.7603, allocations: 1.798 MB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7613, allocations: 0.7337 MB / 0.9521 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.7614, allocations: 1.625 kB / 0.9521 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.7614, allocations: 3.938 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.7615, allocations: 18.53 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.7618, allocations: 71.83 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.762, allocations: 104.1 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.7621, allocations: 45.52 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.7622, allocations: 39.67 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.7622, allocations: 49.02 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.7623, allocations: 5.656 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.7625, allocations: 120.2 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.7625, allocations: 19.33 kB / 0.9525 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.7626, allocations: 45.39 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.7627, allocations: 110.2 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7628, allocations: 4 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7628, allocations: 0 / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.7628, allocations: 1.219 kB / 0.9527 GB, free: 6.801 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.0005571/0.7633, allocations: 441.4 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7634, allocations: 9.25 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.7634, allocations: 11.16 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.7635, allocations: 181.8 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.7635, allocations: 4.688 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.7636, allocations: 17.22 kB / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.7639, allocations: 119 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7639, allocations: 0 / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7639, allocations: 9.312 kB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.7639, allocations: 2.719 kB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.7643, allocations: 109.9 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.7648, allocations: 395.2 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.7651, allocations: 113.4 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.7652, allocations: 63.78 kB / 0.9541 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.7656, allocations: 0.5621 MB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.7656, allocations: 35.66 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.7656, allocations: 0 / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005946/0.7662, allocations: 189.4 kB / 0.9549 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.7663, allocations: 56.41 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.7664, allocations: 163.3 kB / 0.9551 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.7664, allocations: 29.7 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.7665, allocations: 102.1 kB / 0.9552 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.7665, allocations: 26.5 kB / 0.9552 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.7665, allocations: 23.84 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.7666, allocations: 321.5 kB / 0.9555 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.7668, allocations: 51.89 kB / 0.9556 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.7669, allocations: 52.45 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.7672, allocations: 95.66 kB / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7672, allocations: 0 / 0.9557 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003511/0.7676, allocations: 149.2 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7676, allocations: 4.781 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7676, allocations: 0 / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7676, allocations: 1.156 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.7678, allocations: 29.53 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7678, allocations: 1.219 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/0.7679, allocations: 23.89 kB / 0.9559 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.7679, allocations: 2.25 kB / 0.9559 GB, free: 3.789 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 6.468e-05/0.768, allocations: 118.4 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.768, allocations: 17.38 kB / 0.9561 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.7684, allocations: 159.5 kB / 0.9562 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7684, allocations: 1.625 kB / 0.9562 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7684, allocations: 3.938 kB / 0.9562 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7685, allocations: 1.25 kB / 0.9562 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.7686, allocations: 207.1 kB / 0.9564 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7686, allocations: 7.875 kB / 0.9564 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.7688, allocations: 26.03 kB / 0.9565 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.7688, allocations: 4.797 kB / 0.9565 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.7688, allocations: 1.062 kB / 0.9565 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.7688, allocations: 1.156 kB / 0.9565 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7688, allocations: 7.938 kB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.7692, allocations: 240.6 kB / 0.9567 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.7692, allocations: 100.4 kB / 0.9568 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.7693, allocations: 1.188 kB / 0.9568 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.7694, allocations: 19.23 kB / 0.9568 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.7694, allocations: 7.703 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.7695, allocations: 1.344 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.7695, allocations: 130.4 kB / 0.9569 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7695, allocations: 0 / 0.9569 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002434/0.7698, allocations: 20.03 kB / 0.957 GB, free: 2.875 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.0001617/0.77, allocations: 108 kB / 0.9571 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.7703, allocations: 109 kB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7703, allocations: 0 / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.7705, allocations: 62.27 kB / 0.9572 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.7709, allocations: 38.47 kB / 0.9573 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.7714, allocations: 277.2 kB / 0.9575 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.7715, allocations: 0.6998 MB / 0.9582 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.7716, allocations: 14.75 kB / 0.9582 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7716, allocations: 0 / 0.9582 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.003062/0.7746, allocations: 1.454 MB / 0.9597 GB, free: 0.9922 MB / 0.7169 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