Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001354/0.001354, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.0009892/0.0009892, allocations: 170.4 kB / 24.87 MB, free: 8.875 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.74/1.74, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.106e-05, allocations: 6.25 kB / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002286/0.002307, allocations: 1.713 MB / 0.79 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005041/0.002811, allocations: 405.8 kB / 0.7903 GB, free: 9.008 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.002872, allocations: 0 / 0.7903 GB, free: 9.008 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.002973, allocations: 12.77 kB / 0.7904 GB, free: 8.996 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.003016, allocations: 25.72 kB / 0.7904 GB, free: 8.973 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.003307, allocations: 115.6 kB / 0.7905 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003425, allocations: 116.4 kB / 0.7906 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.003516, allocations: 31.89 kB / 0.7906 GB, free: 8.715 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.003587, allocations: 56.94 kB / 0.7907 GB, free: 8.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.003638, allocations: 31.91 kB / 0.7907 GB, free: 8.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.003653, allocations: 4 kB / 0.7907 GB, free: 8.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.003739, allocations: 56.67 kB / 0.7908 GB, free: 8.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.00376, allocations: 27.89 kB / 0.7908 GB, free: 8.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.003789, allocations: 34.55 kB / 0.7908 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.003947, allocations: 127.5 kB / 0.791 GB, free: 8.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003949, allocations: 0 / 0.791 GB, free: 8.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00395, allocations: 0 / 0.791 GB, free: 8.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.003953, allocations: 0 / 0.791 GB, free: 8.387 MB / 0.698 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.0003468/0.0043, allocations: 444.1 kB / 0.7914 GB, free: 7.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.004328, allocations: 9.625 kB / 0.7914 GB, free: 7.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.004478, allocations: 44.75 kB / 0.7914 GB, free: 7.863 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.004606, allocations: 133.1 kB / 0.7916 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.004649, allocations: 60.69 kB / 0.7916 GB, free: 7.637 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.004661, allocations: 8.375 kB / 0.7916 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.004791, allocations: 125.4 kB / 0.7917 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004798, allocations: 192 / 0.7917 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004807, allocations: 2.281 kB / 0.7918 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004811, allocations: 4.125 kB / 0.7918 GB, free: 7.488 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.004872, allocations: 37.84 kB / 0.7918 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.005219, allocations: 333.6 kB / 0.7921 GB, free: 7.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.005449, allocations: 95.14 kB / 0.7922 GB, free: 6.996 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.005474, allocations: 25.62 kB / 0.7922 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.005482, allocations: 0 / 0.7922 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.005502, allocations: 41.33 kB / 0.7923 GB, free: 6.918 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005503, allocations: 0 / 0.7923 GB, free: 6.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001291/0.005632, allocations: 80.33 kB / 0.7923 GB, free: 6.836 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.005654, allocations: 51.41 kB / 0.7924 GB, free: 6.773 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/0.005721, allocations: 173.9 kB / 0.7926 GB, free: 6.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.005733, allocations: 25.7 kB / 0.7926 GB, free: 6.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.005779, allocations: 154.8 kB / 0.7927 GB, free: 6.398 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.005802, allocations: 23.78 kB / 0.7928 GB, free: 6.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.005834, allocations: 35.3 kB / 0.7928 GB, free: 6.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.005932, allocations: 496.6 kB / 0.7933 GB, free: 5.836 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.00595, allocations: 15.98 kB / 0.7933 GB, free: 5.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.005975, allocations: 28.08 kB / 0.7933 GB, free: 5.785 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.006019, allocations: 47.77 kB / 0.7933 GB, free: 5.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00602, allocations: 1.625 kB / 0.7933 GB, free: 5.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.213e-05/0.006102, allocations: 74.05 kB / 0.7934 GB, free: 5.652 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006114, allocations: 8 kB / 0.7934 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006119, allocations: 80 / 0.7934 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.006125, allocations: 0.5938 kB / 0.7934 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.006181, allocations: 16.58 kB / 0.7934 GB, free: 5.629 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.006185, allocations: 3.984 kB / 0.7934 GB, free: 5.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.006214, allocations: 8.719 kB / 0.7935 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006219, allocations: 4 kB / 0.7935 GB, free: 5.613 MB / 0.698 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 6.701e-05/0.006286, allocations: 161.6 kB / 0.7936 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.006309, allocations: 11.95 kB / 0.7936 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.00633, allocations: 13.8 kB / 0.7936 GB, free: 5.422 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006332, allocations: 3.938 kB / 0.7936 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006334, allocations: 0 / 0.7936 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.006336, allocations: 0 / 0.7936 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.006443, allocations: 126.2 kB / 0.7938 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006444, allocations: 0 / 0.7938 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.006485, allocations: 20.64 kB / 0.7938 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006486, allocations: 0 / 0.7938 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.00649, allocations: 1.062 kB / 0.7938 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006491, allocations: 0 / 0.7938 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006492, allocations: 0 / 0.7938 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.006601, allocations: 208.7 kB / 0.794 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.006612, allocations: 19.89 kB / 0.794 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.006621, allocations: 0 / 0.794 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.00668, allocations: 9.484 kB / 0.794 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.006715, allocations: 15.91 kB / 0.794 GB, free: 4.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.006724, allocations: 3.984 kB / 0.794 GB, free: 4.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.006764, allocations: 136.2 kB / 0.7942 GB, free: 4.848 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006764, allocations: 0 / 0.7942 GB, free: 4.848 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000155/0.006919, allocations: 27.89 kB / 0.7942 GB, free: 4.82 MB / 0.698 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 5.943e-05/0.006979, allocations: 93.28 kB / 0.7943 GB, free: 4.723 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.007048, allocations: 43.66 kB / 0.7943 GB, free: 4.676 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007049, allocations: 3.938 kB / 0.7943 GB, free: 4.672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.007074, allocations: 23.67 kB / 0.7943 GB, free: 4.645 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.00728, allocations: 30.23 kB / 0.7944 GB, free: 4.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.007668, allocations: 207.4 kB / 0.7946 GB, free: 4.387 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.007702, allocations: 61.17 kB / 0.7946 GB, free: 4.309 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.007743, allocations: 10.52 kB / 0.7946 GB, free: 4.301 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.007843, allocations: 106.1 kB / 0.7947 GB, free: 4.195 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.007844, allocations: 3.281 kB / 0.7947 GB, free: 4.195 MB / 0.698 GB Notification: Performance of Templates: time 0.003014/0.01086, allocations: 1.536 MB / 0.7962 GB, free: 2.707 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.780799760948867]