Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008878/0.008878, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001891/0.001891, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003147/0.3481, allocations: 1.716 MB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3494, allocations: 0.7212 MB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.3495, allocations: 7.938 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.3495, allocations: 11.86 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.3496, allocations: 19.73 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.3501, allocations: 99.7 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3502, allocations: 115.6 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.3504, allocations: 41.03 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3505, allocations: 43.84 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.3506, allocations: 55.77 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3506, allocations: 12 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.3509, allocations: 107.8 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.351, allocations: 27.91 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.351, allocations: 47.73 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.3513, allocations: 155.5 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3513, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3513, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3513, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 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.0007285/0.3521, allocations: 443 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3521, allocations: 8.625 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.3522, allocations: 20.75 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3523, allocations: 185.7 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3523, allocations: 8.375 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.3524, allocations: 12.38 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.3527, allocations: 113.9 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3527, allocations: 4 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.3528, allocations: 4 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3528, allocations: 4 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.3531, allocations: 115.8 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.3538, allocations: 396.3 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.3541, allocations: 110.5 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3543, allocations: 64.81 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/0.3549, allocations: 0.5583 MB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3549, allocations: 34.56 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3549, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006563/0.3556, allocations: 201.5 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3556, allocations: 55.41 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3558, allocations: 159.4 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3558, allocations: 33.64 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.3559, allocations: 100.1 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.3559, allocations: 27.56 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.356, allocations: 21.72 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3561, allocations: 326.8 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3563, allocations: 47.95 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3565, allocations: 43.95 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.3568, allocations: 96.78 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3568, allocations: 0 / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003703/0.3572, allocations: 145.5 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3572, allocations: 7.938 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3572, allocations: 0 / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3572, allocations: 0 / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3574, allocations: 27.97 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3574, allocations: 0 / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3575, allocations: 23.83 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3575, allocations: 3.938 kB / 1.214 GB, free: 2.723 MB / 0.9669 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.936e-05/0.3576, allocations: 117.8 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3577, allocations: 16.22 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.3582, allocations: 166.8 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3582, allocations: 0 / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3582, allocations: 4 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3582, allocations: 0 / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.3584, allocations: 201.6 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3584, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3586, allocations: 27.97 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3586, allocations: 3.938 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3586, allocations: 4 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3586, allocations: 4 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3586, allocations: 7.984 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.359, allocations: 239.3 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.3591, allocations: 96.91 kB / 1.215 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3592, allocations: 3.938 kB / 1.215 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3593, allocations: 15.98 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3593, allocations: 7.984 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3594, allocations: 4 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.034e-05/0.3595, allocations: 128.8 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3595, allocations: 0 / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002495/0.3597, allocations: 24 kB / 1.215 GB, free: 1.57 MB / 0.9669 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.0002031/0.3599, allocations: 119.2 kB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.3603, allocations: 107.9 kB / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3603, allocations: 4 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3605, allocations: 52.33 kB / 1.215 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3609, allocations: 40.09 kB / 1.215 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.3614, allocations: 223.9 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.3617, allocations: 0.7002 MB / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.3618, allocations: 8.562 kB / 1.216 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.3618, allocations: 19.44 kB / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3618, allocations: 0 / 1.216 GB, free: 252 kB / 0.9669 GB Notification: Performance of Templates: time 0.004309/0.3661, allocations: 1.621 MB / 1.218 GB, free: 14.65 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches