Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001803/0.001803, allocations: 87.69 kB / 20.23 MB, free: 4.184 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.001926/0.001926, allocations: 157.3 kB / 23.55 MB, free: 0.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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.036/3.036, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.11e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003227/0.003258, allocations: 1.687 MB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.004095, allocations: 398.1 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.00416, allocations: 4 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.004278, allocations: 11.88 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.00434, allocations: 28.75 kB / 0.8129 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.004788, allocations: 118 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.004988, allocations: 111.6 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.005111, allocations: 27.84 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.005226, allocations: 59.88 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.005309, allocations: 33.42 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.005339, allocations: 8 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.005487, allocations: 63.88 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.005524, allocations: 19.92 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.005585, allocations: 33.66 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.005882, allocations: 143.6 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.005885, allocations: 4 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005886, allocations: 0 / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.005891, allocations: 0 / 0.8134 GB, free: 15.41 MB / 0.7761 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.0006693/0.00656, allocations: 449.2 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006595, allocations: 8.031 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.006884, allocations: 37.34 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.007114, allocations: 141.9 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.007201, allocations: 55.97 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.007222, allocations: 8.375 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.007488, allocations: 130.3 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007498, allocations: 192 / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.007516, allocations: 4.375 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.007526, allocations: 8.125 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.007754, allocations: 70.61 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.008481, allocations: 372.7 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.009045, allocations: 129.3 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.00915, allocations: 39.67 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.009172, allocations: 3.984 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.009212, allocations: 41.83 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.009213, allocations: 0.5938 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004147/0.009627, allocations: 122.5 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.009681, allocations: 51.41 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.009849, allocations: 191.1 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.009873, allocations: 25.7 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.009981, allocations: 154.7 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.01001, allocations: 25.17 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.01007, allocations: 27.36 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000351/0.01042, allocations: 0.4922 MB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/0.01051, allocations: 24.48 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.01063, allocations: 52.73 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01081, allocations: 75.5 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01081, allocations: 0.9062 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002449/0.01106, allocations: 110.4 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01108, allocations: 4 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01108, allocations: 2.219 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.0111, allocations: 7.922 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.0112, allocations: 12 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.01121, allocations: 4 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.01128, allocations: 7.984 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01129, allocations: 4 kB / 0.8162 GB, free: 12.35 MB / 0.7761 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.0001353/0.01143, allocations: 171.2 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.01147, allocations: 7.953 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.01151, allocations: 16.44 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.01152, allocations: 4 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01153, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01153, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.01176, allocations: 156.4 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01176, allocations: 1.469 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.01186, allocations: 19.98 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01186, allocations: 0 / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.01187, allocations: 0.5 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01187, allocations: 0 / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.01187, allocations: 5.344 kB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.0122, allocations: 247.8 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01222, allocations: 3.953 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01224, allocations: 9.031 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.01237, allocations: 7.984 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01241, allocations: 0.6562 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.01243, allocations: 7.984 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001205/0.01255, allocations: 145.9 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01255, allocations: 3.688 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002502/0.0128, allocations: 19.95 kB / 0.817 GB, free: 11.48 MB / 0.7761 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.0001339/0.01294, allocations: 97.78 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.01318, allocations: 75.59 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01319, allocations: 0 / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.01329, allocations: 43.67 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.01368, allocations: 25.53 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.01423, allocations: 207.9 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.01433, allocations: 88.19 kB / 0.8175 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.01442, allocations: 6.906 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.01446, allocations: 16.44 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01446, allocations: 0.5938 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.004868/0.01933, allocations: 1.365 MB / 0.8189 GB, free: 9.559 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.012051180936396]