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.001287/0.001287, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.00116/0.001161, allocations: 193 kB / 16.91 MB, free: 6.195 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.228/2.228, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 65.2 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.003649/0.3104, allocations: 1.804 MB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3119, allocations: 0.7215 MB / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3121, allocations: 0 / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.224e-05/0.3121, allocations: 11.86 kB / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3123, allocations: 15.86 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.3128, allocations: 79.86 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.313, allocations: 111.6 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3132, allocations: 37.36 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3133, allocations: 47.78 kB / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.3134, allocations: 55.77 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3134, allocations: 8 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.3137, allocations: 111.9 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.3137, allocations: 23.92 kB / 0.9527 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.3138, allocations: 51.67 kB / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.314, allocations: 111.8 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.314, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3141, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3141, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7325 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.0007036/0.3148, allocations: 443 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3148, allocations: 8.031 kB / 0.9533 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.3149, allocations: 12.84 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.315, allocations: 186.7 kB / 0.9535 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3151, allocations: 8.375 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3151, allocations: 16.12 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.3154, allocations: 122.9 kB / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3155, allocations: 0 / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3155, allocations: 4 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3155, allocations: 4 kB / 0.9536 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.3158, allocations: 107.9 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.3165, allocations: 412.2 kB / 0.9541 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.3168, allocations: 98.55 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.317, allocations: 64.86 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.3176, allocations: 0.5622 MB / 0.9548 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3176, allocations: 38.5 kB / 0.9549 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.3177, allocations: 0 / 0.9549 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006336/0.3183, allocations: 185.4 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3183, allocations: 59.34 kB / 0.9551 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3185, allocations: 165 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3185, allocations: 29.64 kB / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.3186, allocations: 104.1 kB / 0.9554 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.3187, allocations: 31.55 kB / 0.9554 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.3187, allocations: 17.72 kB / 0.9555 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3188, allocations: 322.8 kB / 0.9558 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.319, allocations: 47.95 kB / 0.9558 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3192, allocations: 39.97 kB / 0.9558 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.3195, allocations: 100.8 kB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3195, allocations: 0 / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003735/0.3199, allocations: 153.3 kB / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3199, allocations: 4 kB / 0.9561 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3199, allocations: 0 / 0.9561 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3199, allocations: 4.656 kB / 0.9561 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3201, allocations: 23.92 kB / 0.9561 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3201, allocations: 0 / 0.9561 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3202, allocations: 27.88 kB / 0.9561 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3203, allocations: 8 kB / 0.9562 GB, free: 2.336 MB / 0.7325 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 9.602e-05/0.3204, allocations: 117.3 kB / 0.9563 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.3204, allocations: 11.84 kB / 0.9563 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.3209, allocations: 162.8 kB / 0.9564 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3209, allocations: 4 kB / 0.9564 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3209, allocations: 0 / 0.9564 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3209, allocations: 0 / 0.9564 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3211, allocations: 205.6 kB / 0.9566 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3211, allocations: 7.938 kB / 0.9566 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3213, allocations: 23.98 kB / 0.9567 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3213, allocations: 0 / 0.9567 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3213, allocations: 0 / 0.9567 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3213, allocations: 4 kB / 0.9567 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3213, allocations: 4 kB / 0.9567 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.3217, allocations: 239.2 kB / 0.9569 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.3218, allocations: 96.94 kB / 0.957 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3218, allocations: 0 / 0.957 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.322, allocations: 15.98 kB / 0.957 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.322, allocations: 19.91 kB / 0.957 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.322, allocations: 3.938 kB / 0.957 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.725e-05/0.3221, allocations: 125.6 kB / 0.9571 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3221, allocations: 4 kB / 0.9571 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002582/0.3224, allocations: 28 kB / 0.9572 GB, free: 1.191 MB / 0.7325 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.0001925/0.3226, allocations: 111.2 kB / 0.9573 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.323, allocations: 111.8 kB / 0.9574 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.323, allocations: 384 / 0.9574 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.3232, allocations: 67.83 kB / 0.9575 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3236, allocations: 35.91 kB / 0.9575 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.3241, allocations: 281.7 kB / 0.9578 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3244, allocations: 0.7039 MB / 0.9584 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.3245, allocations: 15.44 kB / 0.9585 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.3245, allocations: 0 / 0.9585 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of Templates: time 0.003426/0.3279, allocations: 1.463 MB / 0.9599 GB, free: 14.35 MB / 0.7481 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