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.001809/0.001809, allocations: 109.6 kB / 16.41 MB, free: 6.492 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.001996/0.001996, allocations: 183 kB / 17.34 MB, free: 5.762 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.552/1.552, 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 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.802, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003219/0.8053, allocations: 1.729 MB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8067, allocations: 0.7206 MB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.8068, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.8069, allocations: 11.88 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.807, allocations: 19.78 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.8075, allocations: 91.72 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.8077, allocations: 123.5 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.8078, allocations: 44.75 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.8079, allocations: 43.84 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.808, allocations: 47.77 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.8081, allocations: 16 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002561/0.8083, allocations: 107.9 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.8084, allocations: 23.92 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.8084, allocations: 51.67 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.8087, allocations: 159.5 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8087, allocations: 0 / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8087, allocations: 0 / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8087, allocations: 0 / 1.212 GB, free: 10.48 MB / 0.9356 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.0007004/0.8094, allocations: 449 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8095, allocations: 8.031 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.8095, allocations: 20.75 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.8097, allocations: 172.2 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.8097, allocations: 4.375 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.8097, allocations: 16.31 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.8101, allocations: 125.9 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8101, allocations: 4 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.8101, allocations: 4 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.8102, allocations: 4 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.8105, allocations: 107.8 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.8112, allocations: 400.3 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.8115, allocations: 106.5 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.8117, allocations: 64.86 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/0.8122, allocations: 0.5622 MB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.8122, allocations: 38.55 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.572e-06/0.8122, allocations: 0 / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006696/0.8129, allocations: 185.4 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.813, allocations: 55.41 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.8131, allocations: 160.1 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8131, allocations: 25.7 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.8132, allocations: 112 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.8132, allocations: 27.55 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.8133, allocations: 21.72 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8134, allocations: 326.8 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.8136, allocations: 47.95 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.8138, allocations: 39.97 kB / 1.215 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.8141, allocations: 109.2 kB / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8141, allocations: 0 / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004172/0.8146, allocations: 141.5 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8146, allocations: 11.94 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8146, allocations: 0 / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8146, allocations: 0 / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8148, allocations: 19.98 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8148, allocations: 4 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8149, allocations: 31.81 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.815, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9356 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.39e-05/0.8151, allocations: 113.8 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.8151, allocations: 15.84 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.8156, allocations: 158.9 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8156, allocations: 0 / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8156, allocations: 0 / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.8156, allocations: 0 / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.8158, allocations: 221.4 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8159, allocations: 0 / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.816, allocations: 23.98 kB / 1.215 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.816, allocations: 3.938 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.816, allocations: 4 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.816, allocations: 0 / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.816, allocations: 7.984 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.8165, allocations: 235.5 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.8166, allocations: 97 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.8166, allocations: 11.88 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.8167, allocations: 15.98 kB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.8168, allocations: 7.984 kB / 1.216 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.8168, allocations: 4 kB / 1.216 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.8169, allocations: 128.2 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8169, allocations: 0 / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002603/0.8172, allocations: 20 kB / 1.216 GB, free: 5.625 MB / 0.9356 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.000184/0.8174, allocations: 115.2 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.8178, allocations: 111.8 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8178, allocations: 0 / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.818, allocations: 59.91 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.8184, allocations: 27.97 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.8189, allocations: 253.7 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.8192, allocations: 0.704 MB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.8193, allocations: 15.44 kB / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.8193, allocations: 0 / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.003454/0.8227, allocations: 1.479 MB / 1.219 GB, free: 2.812 MB / 0.9356 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/jenkins1/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