Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001154/0.001154, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001401/0.001401, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9933/0.9933, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.408/2.408, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.364e-05, allocations: 9.406 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002574/0.002598, allocations: 1.712 MB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.003244, allocations: 406.6 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.003325, allocations: 0 / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.003428, allocations: 11.81 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.00348, allocations: 23.78 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.003877, allocations: 123.6 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004026, allocations: 115.5 kB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.004131, allocations: 23.92 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.747e-05/0.004228, allocations: 59.88 kB / 0.8921 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.004288, allocations: 31.89 kB / 0.8922 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.004309, allocations: 8 kB / 0.8922 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.004436, allocations: 63.94 kB / 0.8922 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.00446, allocations: 19.92 kB / 0.8922 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004496, allocations: 39.91 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.004683, allocations: 119.6 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004685, allocations: 0 / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.81e-07/0.004686, allocations: 0 / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.004689, allocations: 0 / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004089/0.005098, allocations: 443.7 kB / 0.8928 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.005135, allocations: 8.031 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.005324, allocations: 44.73 kB / 0.8929 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.005477, allocations: 147.7 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.00553, allocations: 63.95 kB / 0.8931 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.005546, allocations: 8.375 kB / 0.8931 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.005704, allocations: 111 kB / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005712, allocations: 4.188 kB / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.005723, allocations: 8.312 kB / 0.8932 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.005729, allocations: 4.125 kB / 0.8932 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.00579, allocations: 27.97 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.006457, allocations: 343.9 kB / 0.8936 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.006721, allocations: 99.09 kB / 0.8937 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.00675, allocations: 23.72 kB / 0.8937 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.006759, allocations: 0 / 0.8937 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.006783, allocations: 37.39 kB / 0.8937 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.006784, allocations: 0 / 0.8937 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001504/0.006934, allocations: 73.58 kB / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.006957, allocations: 59.41 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.007038, allocations: 178 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007052, allocations: 25.7 kB / 0.894 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.007104, allocations: 146.8 kB / 0.8942 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.007125, allocations: 27.73 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.007165, allocations: 27.38 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.007283, allocations: 0.4884 MB / 0.8947 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.007304, allocations: 8 kB / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.007336, allocations: 31.34 kB / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.007392, allocations: 43.25 kB / 0.8948 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007394, allocations: 4 kB / 0.8948 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001061/0.0075, allocations: 77.56 kB / 0.8949 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.007513, allocations: 8 kB / 0.8949 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007518, allocations: 3.938 kB / 0.8949 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.007529, allocations: 0 / 0.8949 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.007596, allocations: 15.98 kB / 0.8949 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007599, allocations: 0 / 0.8949 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.007637, allocations: 7.938 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007644, allocations: 7.984 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.559e-05/0.00772, allocations: 164.5 kB / 0.8951 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.007752, allocations: 7.953 kB / 0.8951 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.007778, allocations: 16.44 kB / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007779, allocations: 0 / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007781, allocations: 0 / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007784, allocations: 0 / 0.8951 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.007918, allocations: 117.2 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.007921, allocations: 3.984 kB / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.007969, allocations: 19.88 kB / 0.8952 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007971, allocations: 4 kB / 0.8952 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.007976, allocations: 0 / 0.8952 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007977, allocations: 4 kB / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007978, allocations: 0 / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.008117, allocations: 220.4 kB / 0.8954 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.008131, allocations: 15.88 kB / 0.8954 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.008143, allocations: 0 / 0.8954 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.008219, allocations: 4 kB / 0.8954 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.008251, allocations: 7.984 kB / 0.8955 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.00826, allocations: 4 kB / 0.8955 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.008313, allocations: 135.1 kB / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008313, allocations: 0 / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002242/0.008537, allocations: 16 kB / 0.8956 GB, free: 3.434 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 (7): * Single equations (assignments): 7 * 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 8.322e-05/0.00862, allocations: 103.2 kB / 0.8957 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.008713, allocations: 47.7 kB / 0.8957 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008715, allocations: 0 / 0.8957 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.008744, allocations: 23.62 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.009015, allocations: 27.91 kB / 0.8958 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.009509, allocations: 214.4 kB / 0.896 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.009549, allocations: 63.34 kB / 0.8961 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.357e-05/0.009603, allocations: 11.94 kB / 0.8961 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.009723, allocations: 102.1 kB / 0.8962 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.009724, allocations: 0 / 0.8962 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of Templates: time 0.003339/0.01306, allocations: 1.512 MB / 0.8976 GB, free: 1.312 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.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.3560540420003235]