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.0015/0.0015, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001686/0.001686, allocations: 167.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.966/2.966, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.693e-06/1.693e-06, allocations: 0 / 1 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.995e-05, allocations: 2.281 kB / 1 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002905/0.002935, allocations: 1.67 MB / 1.002 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.003721, allocations: 378.7 kB / 1.002 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.003791, allocations: 4 kB / 1.002 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.003901, allocations: 11.88 kB / 1.002 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.003963, allocations: 27.72 kB / 1.002 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.004429, allocations: 115.5 kB / 1.002 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.004617, allocations: 111.6 kB / 1.002 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.004749, allocations: 31.97 kB / 1.002 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.00486, allocations: 63.88 kB / 1.002 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.004933, allocations: 27.91 kB / 1.002 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.004961, allocations: 8 kB / 1.002 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.005111, allocations: 67.86 kB / 1.003 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.005148, allocations: 19.92 kB / 1.003 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.005198, allocations: 31.91 kB / 1.003 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.005461, allocations: 143.6 kB / 1.003 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005463, allocations: 3.938 kB / 1.003 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005464, allocations: 0 / 1.003 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.005469, allocations: 0 / 1.003 GB, free: 3.512 MB / 0.9044 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.0006433/0.006112, allocations: 345.8 kB / 1.003 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.006164, allocations: 8.031 kB / 1.003 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.006399, allocations: 28.86 kB / 1.003 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.006636, allocations: 141.6 kB / 1.003 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.006726, allocations: 59.88 kB / 1.003 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.006747, allocations: 8.375 kB / 1.003 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.00707, allocations: 137.4 kB / 1.003 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.00708, allocations: 4.125 kB / 1.003 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.007098, allocations: 4.375 kB / 1.003 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.007105, allocations: 4.125 kB / 1.003 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.007361, allocations: 79.94 kB / 1.004 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.008026, allocations: 304.2 kB / 1.004 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.00858, allocations: 130.6 kB / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.008698, allocations: 32.84 kB / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.008715, allocations: 0 / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.008749, allocations: 38.55 kB / 1.004 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.00875, allocations: 0 / 1.004 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004586/0.009208, allocations: 141.7 kB / 1.004 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.009247, allocations: 55.41 kB / 1.004 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.009367, allocations: 124.7 kB / 1.004 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.009391, allocations: 25.7 kB / 1.004 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.009464, allocations: 104 kB / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.009495, allocations: 27.75 kB / 1.004 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.009538, allocations: 17.72 kB / 1.004 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.009682, allocations: 322.8 kB / 1.005 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.009791, allocations: 27.98 kB / 1.005 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.009907, allocations: 49.69 kB / 1.005 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.01014, allocations: 81.61 kB / 1.005 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01015, allocations: 0 / 1.005 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002697/0.01042, allocations: 114 kB / 1.005 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01043, allocations: 8 kB / 1.005 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01043, allocations: 4.031 kB / 1.005 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01045, allocations: 0 / 1.005 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01057, allocations: 19.98 kB / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01058, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.01066, allocations: 15.92 kB / 1.005 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.01066, allocations: 4.078 kB / 1.005 GB, free: 0.8906 MB / 0.9044 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 0.0001027/0.01077, allocations: 119 kB / 1.005 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.0108, allocations: 3.953 kB / 1.005 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.01084, allocations: 16.44 kB / 1.005 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01084, allocations: 3.984 kB / 1.005 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01084, allocations: 4 kB / 1.005 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01085, allocations: 0 / 1.005 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.01103, allocations: 141.2 kB / 1.005 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01103, allocations: 0 / 1.005 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.01114, allocations: 15.94 kB / 1.005 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01114, allocations: 3.984 kB / 1.005 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01115, allocations: 0 / 1.005 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01115, allocations: 7.922 kB / 1.005 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01116, allocations: 0 / 1.005 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.01148, allocations: 207.4 kB / 1.006 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.01149, allocations: 7.953 kB / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01151, allocations: 0 / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.01166, allocations: 11.98 kB / 1.006 GB, free: 308 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01171, allocations: 7.984 kB / 1.006 GB, free: 300 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.01172, allocations: 4 kB / 1.006 GB, free: 296 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.01179, allocations: 95.27 kB / 1.006 GB, free: 200 kB / 0.9044 GB Notification: Performance of sort global known variables: time 7e-08/0.01179, allocations: 0 / 1.006 GB, free: 200 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002447/0.01203, allocations: 20 kB / 1.006 GB, free: 180 kB / 0.9044 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.0001307/0.01216, allocations: 107.2 kB / 1.006 GB, free: 64 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.01246, allocations: 68 kB / 1.006 GB, free: 15.99 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01246, allocations: 0 / 1.006 GB, free: 15.99 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.01259, allocations: 39.86 kB / 1.006 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01293, allocations: 27.98 kB / 1.006 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.01343, allocations: 197.1 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.01351, allocations: 79.33 kB / 1.006 GB, free: 15.61 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.01357, allocations: 8 kB / 1.006 GB, free: 15.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.01361, allocations: 12.5 kB / 1.006 GB, free: 15.59 MB / 0.92 GB Notification: Performance of SimCode: time 4.2e-07/0.01361, allocations: 0 / 1.006 GB, free: 15.59 MB / 0.92 GB Notification: Performance of Templates: time 0.00459/0.0182, allocations: 1.356 MB / 1.008 GB, free: 14.27 MB / 0.92 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.01832339912653]