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.006763/0.006763, allocations: 100.7 kB / 15.73 MB, free: 6.453 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.002057/0.002056, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.368/2.368, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.78 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2408, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002521/0.2433, allocations: 1.741 MB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2444, allocations: 0.7307 MB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.2445, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.2445, allocations: 7.875 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.2446, allocations: 23.72 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2449, allocations: 91.72 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2451, allocations: 111.6 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2452, allocations: 44.78 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.2453, allocations: 47.84 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.2454, allocations: 55.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.2454, allocations: 12 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.2456, allocations: 107.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.2456, allocations: 23.92 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.2457, allocations: 51.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.2459, allocations: 155.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2459, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2459, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2459, allocations: 0 / 1.091 GB, free: 14.23 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.0005767/0.2465, allocations: 447 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2465, allocations: 8.031 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.2466, allocations: 16.75 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2467, allocations: 176.2 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2467, allocations: 8.375 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.2468, allocations: 19.92 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2471, allocations: 126.9 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.2471, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2471, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2471, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.2475, allocations: 111.8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.248, allocations: 400.2 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.2483, allocations: 102.5 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2485, allocations: 68.86 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/0.2489, allocations: 0.5622 MB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2489, allocations: 38.56 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2489, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005835/0.2495, allocations: 185.4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2496, allocations: 51.41 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2497, allocations: 163.3 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2497, allocations: 25.7 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.2498, allocations: 112 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.2498, allocations: 27.53 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.2499, allocations: 26.09 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.25, allocations: 322.8 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.2502, allocations: 47.95 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2503, allocations: 43.91 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.2506, allocations: 100.8 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2506, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000356/0.251, allocations: 141.4 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.251, allocations: 8 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.251, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2511, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2512, allocations: 27.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2512, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2513, allocations: 27.81 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2514, allocations: 4 kB / 1.094 GB, free: 10.52 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.321e-05/0.2514, allocations: 113.8 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.2515, allocations: 15.84 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.2519, allocations: 154.9 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2519, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2519, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2519, allocations: 4.375 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.2522, allocations: 213.4 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2522, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2523, allocations: 23.98 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2523, allocations: 3.938 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2523, allocations: 8 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2524, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2524, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.2528, allocations: 239.2 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.2528, allocations: 96.91 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2529, allocations: 11.94 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.253, allocations: 7.984 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.253, allocations: 15.92 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2531, allocations: 7.984 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.2531, allocations: 124.9 kB / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2531, allocations: 0 / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002605/0.2534, allocations: 24 kB / 1.095 GB, free: 9.379 MB / 0.8575 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.0001583/0.2536, allocations: 115.2 kB / 1.095 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.254, allocations: 107.8 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.254, allocations: 0 / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.2541, allocations: 51.97 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2545, allocations: 40.3 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.255, allocations: 236 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2552, allocations: 0.7041 MB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.738e-05/0.2553, allocations: 8.547 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2553, allocations: 15.44 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.2553, allocations: 0 / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of Templates: time 0.004065/0.2594, allocations: 1.657 MB / 1.098 GB, free: 6.418 MB / 0.8575 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