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.001242/0.001243, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001807/0.001807, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.34/2.34, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.686, allocations: 140.4 MB / 0.9491 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002555/0.6886, allocations: 1.806 MB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.6896, allocations: 0.7114 MB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.6897, allocations: 1.656 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.6897, allocations: 7.922 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.6898, allocations: 18.19 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.6901, allocations: 76.06 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6902, allocations: 112.9 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.6904, allocations: 46.95 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.6904, allocations: 47.72 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.6905, allocations: 48.02 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.6905, allocations: 9.5 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.6907, allocations: 116.3 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.6908, allocations: 22.66 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.6908, allocations: 53.42 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.691, allocations: 153.9 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.691, allocations: 0 / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.691, allocations: 1.344 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.691, allocations: 0 / 0.9523 GB, free: 6.598 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.0005194/0.6916, allocations: 441 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6916, allocations: 10 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.6916, allocations: 11 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.87e-05/0.6917, allocations: 184.5 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6918, allocations: 7.609 kB / 0.9529 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.6918, allocations: 14.88 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.6921, allocations: 118.8 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6921, allocations: 0 / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.6921, allocations: 9.5 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6921, allocations: 2.688 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.6925, allocations: 109.4 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.693, allocations: 405.1 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.6933, allocations: 99.16 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.6935, allocations: 61.08 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/0.6938, allocations: 0.5656 MB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.6938, allocations: 39.66 kB / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.6938, allocations: 0 / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005962/0.6944, allocations: 189.7 kB / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.6945, allocations: 56.41 kB / 0.9545 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.6946, allocations: 163.2 kB / 0.9546 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.6946, allocations: 30.86 kB / 0.9547 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.6947, allocations: 100.9 kB / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.6947, allocations: 31.02 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.6947, allocations: 19.16 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.6948, allocations: 325.5 kB / 0.9551 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.6949, allocations: 52.7 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.6951, allocations: 48.64 kB / 0.9552 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.6954, allocations: 94.86 kB / 0.9553 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6954, allocations: 1.125 kB / 0.9553 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003537/0.6958, allocations: 151.6 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6958, allocations: 6.406 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6958, allocations: 0 / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6958, allocations: 0 / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.696, allocations: 30.25 kB / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.696, allocations: 0 / 0.9555 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.6961, allocations: 25.39 kB / 0.9555 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6961, allocations: 2 kB / 0.9555 GB, free: 3.582 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.373e-05/0.6962, allocations: 114 kB / 0.9556 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.6962, allocations: 17.09 kB / 0.9556 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.6967, allocations: 159.6 kB / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6967, allocations: 1.594 kB / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6967, allocations: 1.281 kB / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6967, allocations: 0 / 0.9558 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.6969, allocations: 207.2 kB / 0.956 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6969, allocations: 7.875 kB / 0.956 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.697, allocations: 21.7 kB / 0.956 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.697, allocations: 1.188 kB / 0.956 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6971, allocations: 9.031 kB / 0.956 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6971, allocations: 7.984 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6971, allocations: 1.062 kB / 0.956 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.6975, allocations: 236.1 kB / 0.9563 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.6975, allocations: 101.4 kB / 0.9564 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.6975, allocations: 5.141 kB / 0.9564 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.6977, allocations: 21.89 kB / 0.9564 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.6977, allocations: 3.656 kB / 0.9564 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.6977, allocations: 6.328 kB / 0.9564 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.6978, allocations: 129.5 kB / 0.9565 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6978, allocations: 0 / 0.9565 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002543/0.6981, allocations: 25.5 kB / 0.9566 GB, free: 2.668 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.0001654/0.6982, allocations: 111.7 kB / 0.9567 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.6986, allocations: 113.2 kB / 0.9568 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6986, allocations: 0 / 0.9568 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.6988, allocations: 56.98 kB / 0.9568 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.6992, allocations: 38.55 kB / 0.9569 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.6996, allocations: 259.8 kB / 0.9571 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.6997, allocations: 0.697 MB / 0.9578 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.6998, allocations: 15.64 kB / 0.9578 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.6998, allocations: 14.53 kB / 0.9578 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6998, allocations: 0 / 0.9578 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.003666/0.7035, allocations: 1.492 MB / 0.9593 GB, free: 0.7969 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/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