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.001412/0.001412, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001523/0.001523, allocations: 187 kB / 17.34 MB, free: 5.742 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.499/1.499, 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 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.127, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003193/1.13, allocations: 1.738 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001245/1.131, allocations: 0.7237 MB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/1.131, allocations: 5.125 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/1.131, allocations: 9.891 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-05/1.132, allocations: 25.33 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/1.132, allocations: 93.44 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/1.132, allocations: 114.2 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/1.132, allocations: 52.48 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/1.132, allocations: 38.45 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/1.133, allocations: 57.44 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/1.133, allocations: 9 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/1.133, allocations: 101.5 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/1.133, allocations: 27.67 kB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/1.133, allocations: 50.03 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/1.133, allocations: 156.2 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.133, allocations: 1.25 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/1.133, allocations: 0 / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.804e-06/1.133, allocations: 5.031 kB / 1.092 GB, free: 3.438 MB / 0.8575 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.0006508/1.134, allocations: 438 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.134, allocations: 9.062 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/1.134, allocations: 15.78 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/1.134, allocations: 189.5 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.134, allocations: 4.156 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/1.134, allocations: 14.78 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/1.135, allocations: 132.6 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.135, allocations: 4.969 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.135, allocations: 4.875 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.135, allocations: 6.531 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/1.135, allocations: 106.5 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/1.136, allocations: 398.3 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/1.136, allocations: 102.4 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/1.136, allocations: 69.86 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/1.137, allocations: 0.5634 MB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/1.137, allocations: 32.08 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/1.137, allocations: 0 / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006985/1.137, allocations: 185.7 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/1.137, allocations: 53.33 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/1.138, allocations: 165.2 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/1.138, allocations: 26.42 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/1.138, allocations: 111.7 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/1.138, allocations: 30.08 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/1.138, allocations: 24.7 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/1.138, allocations: 321.1 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.138, allocations: 42.91 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/1.138, allocations: 43.89 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/1.139, allocations: 107.5 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.139, allocations: 0 / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004154/1.139, allocations: 146.7 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.139, allocations: 4.938 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.139, allocations: 0.8125 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.139, allocations: 0.9375 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.139, allocations: 27.8 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.139, allocations: 0.625 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/1.139, allocations: 25.86 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/1.139, allocations: 1.25 kB / 1.095 GB, free: 0.6953 MB / 0.8575 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.474e-05/1.139, allocations: 115.6 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/1.14, allocations: 13.47 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/1.14, allocations: 160.3 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.14, allocations: 1.906 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.14, allocations: 3.938 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.14, allocations: 0.5156 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/1.14, allocations: 217.5 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.14, allocations: 3.938 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/1.14, allocations: 27.81 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/1.14, allocations: 1.391 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.14, allocations: 0.75 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.141, allocations: 0.6875 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.141, allocations: 1.891 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/1.141, allocations: 242.7 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/1.141, allocations: 101.5 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/1.141, allocations: 1.562 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/1.141, allocations: 15.75 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/1.141, allocations: 6.75 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/1.141, allocations: 1.656 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001316/1.141, allocations: 125.7 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.141, allocations: 0 / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002715/1.142, allocations: 25.53 kB / 1.096 GB, free: 15.88 MB / 0.8731 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.0002046/1.142, allocations: 109.7 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004574/1.142, allocations: 111.9 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.142, allocations: 0 / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/1.143, allocations: 64.69 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/1.143, allocations: 34.59 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/1.144, allocations: 238 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/1.144, allocations: 0.7039 MB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/1.144, allocations: 18.8 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/1.144, allocations: 0 / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.005077/1.149, allocations: 1.47 MB / 1.099 GB, free: 14.7 MB / 0.8731 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