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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 169.4 kB / 24.05 MB, free: 460 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9427/0.9427, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.047/2.047, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.218e-05, allocations: 5.266 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002029/0.002041, allocations: 1.757 MB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003011, allocations: 0.7589 MB / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.003066, allocations: 0 / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.003102, allocations: 11.86 kB / 0.8819 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.003169, allocations: 20.95 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.003508, allocations: 108.5 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003621, allocations: 115.5 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.003716, allocations: 30 kB / 0.8822 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.003808, allocations: 55.89 kB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.003863, allocations: 45.41 kB / 0.8823 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.00388, allocations: 8 kB / 0.8823 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.004096, allocations: 119.8 kB / 0.8824 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.004114, allocations: 19.92 kB / 0.8824 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.004146, allocations: 39.91 kB / 0.8824 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.004328, allocations: 147.5 kB / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00433, allocations: 0 / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00433, allocations: 0 / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004334, allocations: 0 / 0.8826 GB, free: 2.766 MB / 0.8386 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.0003838/0.004718, allocations: 467.9 kB / 0.883 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.00475, allocations: 8.031 kB / 0.883 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.004785, allocations: 24.84 kB / 0.8831 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.004871, allocations: 120.5 kB / 0.8832 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004883, allocations: 12.38 kB / 0.8832 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.004894, allocations: 12.31 kB / 0.8832 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.005025, allocations: 109.8 kB / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005032, allocations: 192 / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.00504, allocations: 384 / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005046, allocations: 7.938 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.005092, allocations: 27.97 kB / 0.8833 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.005443, allocations: 328 kB / 0.8836 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.005591, allocations: 94.95 kB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.005624, allocations: 23.67 kB / 0.8838 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.005753, allocations: 39.97 kB / 0.8838 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.005773, allocations: 33.39 kB / 0.8838 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.005773, allocations: 0 / 0.8838 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001413/0.005915, allocations: 81.58 kB / 0.8839 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.005939, allocations: 59.39 kB / 0.884 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.006008, allocations: 181 kB / 0.8841 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.006021, allocations: 33.7 kB / 0.8842 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.006081, allocations: 155 kB / 0.8843 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.006106, allocations: 31.73 kB / 0.8843 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.006141, allocations: 27.36 kB / 0.8844 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.006273, allocations: 0.4961 MB / 0.8849 GB, free: 248 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.006291, allocations: 8 kB / 0.8849 GB, free: 240 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.006309, allocations: 11.92 kB / 0.8849 GB, free: 228 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.006351, allocations: 32.19 kB / 0.8849 GB, free: 192 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006352, allocations: 0 / 0.8849 GB, free: 192 kB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.268e-05/0.006435, allocations: 69.58 kB / 0.885 GB, free: 116 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.006445, allocations: 8 kB / 0.885 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006449, allocations: 4 kB / 0.885 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.006457, allocations: 0 / 0.885 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.006516, allocations: 23.98 kB / 0.885 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006519, allocations: 0 / 0.885 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.006552, allocations: 15.88 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.006559, allocations: 7.938 kB / 0.885 GB, free: 56 kB / 0.8386 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 8.082e-05/0.00664, allocations: 160.5 kB / 0.8852 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.006661, allocations: 11.95 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.006768, allocations: 82.09 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.00677, allocations: 0 / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.006772, allocations: 7.938 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.006776, allocations: 0 / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.006888, allocations: 129.2 kB / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006889, allocations: 0 / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.006936, allocations: 19.98 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006937, allocations: 0 / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.006943, allocations: 4 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006944, allocations: 3.938 kB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006945, allocations: 4 kB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007071, allocations: 227.8 kB / 0.8857 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.007095, allocations: 7.953 kB / 0.8857 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.007109, allocations: 7.984 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.285e-05/0.007151, allocations: 4 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.007189, allocations: 11.98 kB / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.007192, allocations: 0 / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.007239, allocations: 143.1 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.007239, allocations: 0 / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001756/0.007415, allocations: 31.89 kB / 0.8858 GB, free: 15.14 MB / 0.8542 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.0001217/0.007537, allocations: 119.2 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.007629, allocations: 39.66 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00763, allocations: 0 / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.007664, allocations: 35.61 kB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.007872, allocations: 24.56 kB / 0.8861 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.008185, allocations: 222.2 kB / 0.8863 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.124e-05/0.008227, allocations: 63.34 kB / 0.8863 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.00826, allocations: 4 kB / 0.8863 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.008345, allocations: 86.19 kB / 0.8864 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.72e-07/0.008346, allocations: 4 kB / 0.8864 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.003234/0.01158, allocations: 1.668 MB / 0.888 GB, free: 12.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.320613889023662]