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.001382/0.001382, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001778/0.001778, allocations: 181 kB / 24.09 MB, free: 420 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.9641/0.9641, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.77/1.77, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.114e-06/2.114e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.179e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00236/0.002392, allocations: 1.707 MB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005933/0.002985, allocations: 410.2 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.003054, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.673e-05/0.003151, allocations: 7.875 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.003192, allocations: 25 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.00352, allocations: 117.6 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.003646, allocations: 119.5 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003758, allocations: 23.92 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.003847, allocations: 59.88 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.003906, allocations: 32.73 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003927, allocations: 8 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.681e-05/0.004024, allocations: 56.52 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.004048, allocations: 19.97 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.00408, allocations: 36.59 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004252, allocations: 128.4 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004255, allocations: 0 / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004256, allocations: 0 / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.00426, allocations: 0.6562 kB / 0.7902 GB, free: 9.504 MB / 0.7448 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.0004495/0.004709, allocations: 441.8 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.00475, allocations: 8.031 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.004937, allocations: 40.73 kB / 0.7907 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.005094, allocations: 145.7 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.005147, allocations: 59.95 kB / 0.7909 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.005161, allocations: 13.97 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.005314, allocations: 110.5 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005325, allocations: 192 / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005335, allocations: 4.375 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.00534, allocations: 5.125 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.005395, allocations: 35.88 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.005805, allocations: 343.3 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.006038, allocations: 95.05 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.006065, allocations: 27.72 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.006074, allocations: 0 / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.006096, allocations: 38.11 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006097, allocations: 0 / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001355/0.006232, allocations: 66.36 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.006256, allocations: 59.34 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.006335, allocations: 186.9 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.006349, allocations: 25.7 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.006404, allocations: 146.8 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.006424, allocations: 28.34 kB / 0.792 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.006457, allocations: 23.91 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.006572, allocations: 0.4923 MB / 0.7925 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.006599, allocations: 9.375 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.006625, allocations: 27.36 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.006672, allocations: 44.45 kB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.006676, allocations: 4 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.506e-05/0.006761, allocations: 69.58 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.006775, allocations: 8.938 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.00678, allocations: 0 / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.00679, allocations: 1.594 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.006852, allocations: 19.98 kB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.006855, allocations: 0 / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.006883, allocations: 11.88 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.006891, allocations: 11.42 kB / 0.7927 GB, free: 6.73 MB / 0.7448 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.06e-05/0.006962, allocations: 160.5 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.006984, allocations: 7.953 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.007006, allocations: 12.44 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007008, allocations: 0 / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007009, allocations: 0 / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007012, allocations: 3.984 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.007125, allocations: 129.2 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007127, allocations: 3.984 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.007164, allocations: 12.59 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.007167, allocations: 4.5 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.007172, allocations: 0 / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007173, allocations: 0.5625 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007174, allocations: 0.5625 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.007299, allocations: 212.4 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.00731, allocations: 17.28 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007321, allocations: 4 kB / 0.7932 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.00738, allocations: 7.938 kB / 0.7932 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.007413, allocations: 4.516 kB / 0.7932 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.007421, allocations: 4 kB / 0.7933 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.007464, allocations: 136.8 kB / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007464, allocations: 0 / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001492/0.007613, allocations: 19.95 kB / 0.7934 GB, free: 5.957 MB / 0.7448 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 0.000115/0.007728, allocations: 96.19 kB / 0.7935 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.007824, allocations: 55.64 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.007825, allocations: 0.5312 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.007851, allocations: 20.5 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.008093, allocations: 32.84 kB / 0.7936 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.00879, allocations: 216.5 kB / 0.7938 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.008829, allocations: 63.34 kB / 0.7939 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.008869, allocations: 7.25 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.008971, allocations: 102.1 kB / 0.794 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.008971, allocations: 1.125 kB / 0.794 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.003246/0.01222, allocations: 1.512 MB / 0.7954 GB, free: 3.852 MB / 0.7448 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.84353334736079]