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.001786/0.001786, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.002256/0.002256, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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 3.244/3.244, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.204e-06/2.204e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.577e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004631/0.004667, allocations: 1.661 MB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.005875, allocations: 382.1 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.00598, allocations: 3.938 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.006135, allocations: 7.875 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.006243, allocations: 32.92 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.006938, allocations: 117.4 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.007204, allocations: 111.5 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.007367, allocations: 24.69 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.007529, allocations: 59.89 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.007637, allocations: 35.67 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.007671, allocations: 4 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.00789, allocations: 63.88 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.007938, allocations: 23.91 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.008024, allocations: 35.92 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.008426, allocations: 139.6 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.008431, allocations: 0 / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.008432, allocations: 0 / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.008438, allocations: 0 / 0.8802 GB, free: 3.824 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009492/0.009387, allocations: 347.3 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.009439, allocations: 8.031 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.009866, allocations: 45.8 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.01028, allocations: 145.6 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.01041, allocations: 65.09 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.01044, allocations: 8.375 kB / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.01091, allocations: 131.5 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01092, allocations: 192 / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.01095, allocations: 5.469 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.01096, allocations: 4.125 kB / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.01137, allocations: 84.75 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01238, allocations: 298.9 kB / 0.8813 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008365/0.01322, allocations: 130.6 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.01342, allocations: 38.8 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.01344, allocations: 4 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.01349, allocations: 42.55 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.0135, allocations: 0 / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007157/0.01421, allocations: 135.9 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.01427, allocations: 51.41 kB / 0.8817 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.01445, allocations: 125.1 kB / 0.8818 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.01448, allocations: 25.7 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.0146, allocations: 108.5 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.01464, allocations: 24.41 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.01471, allocations: 21.72 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.01496, allocations: 323.6 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.01514, allocations: 29.56 kB / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.01533, allocations: 45.7 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.0157, allocations: 86.06 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.0157, allocations: 0 / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004675/0.01617, allocations: 109.6 kB / 0.8825 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.01619, allocations: 4 kB / 0.8825 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.0162, allocations: 0 / 0.8825 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.01622, allocations: 0 / 0.8825 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.01646, allocations: 27.92 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01647, allocations: 4.031 kB / 0.8826 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.0166, allocations: 11.94 kB / 0.8826 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01661, allocations: 4 kB / 0.8826 GB, free: 1.195 MB / 0.8386 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.0001367/0.01675, allocations: 117.8 kB / 0.8827 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.0168, allocations: 7.953 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.01685, allocations: 16.42 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.01686, allocations: 4 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.01686, allocations: 3.984 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01687, allocations: 3.938 kB / 0.8827 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.01714, allocations: 137.2 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01714, allocations: 4 kB / 0.8829 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.01728, allocations: 15.98 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01728, allocations: 0 / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.0173, allocations: 4 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.0173, allocations: 3.938 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01731, allocations: 0 / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.01775, allocations: 203.4 kB / 0.8831 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.01777, allocations: 11.95 kB / 0.8831 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01779, allocations: 0 / 0.8831 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.01799, allocations: 19.97 kB / 0.8831 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.01804, allocations: 0 / 0.8831 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.01806, allocations: 7.984 kB / 0.8831 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.791e-05/0.01815, allocations: 91.28 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01815, allocations: 4 kB / 0.8832 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002971/0.01845, allocations: 16 kB / 0.8832 GB, free: 488 kB / 0.8386 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.0001358/0.01858, allocations: 99.23 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.01886, allocations: 75.89 kB / 0.8834 GB, free: 304 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01886, allocations: 0 / 0.8834 GB, free: 304 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01898, allocations: 39.91 kB / 0.8834 GB, free: 264 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01936, allocations: 32.38 kB / 0.8834 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.01989, allocations: 200.7 kB / 0.8836 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.02001, allocations: 83.56 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.02008, allocations: 11.98 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.02012, allocations: 12.5 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.02012, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.00475/0.02487, allocations: 1.357 MB / 0.8851 GB, free: 14.56 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=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.16236338892486]