Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001782/0.001782, allocations: 88.72 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.002178/0.002178, 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.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.252/3.252, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8776 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.628e-05, allocations: 10.25 kB / 0.8776 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00419/0.004226, allocations: 1.284 MB / 0.8789 GB, free: 4.066 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.006509, allocations: 0.777 MB / 0.8796 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.00653, allocations: 3.25 kB / 0.8796 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.006551, allocations: 0 / 0.8796 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.006606, allocations: 16.08 kB / 0.8796 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.007362, allocations: 131.3 kB / 0.8798 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.007468, allocations: 23.92 kB / 0.8798 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.00751, allocations: 0 / 0.8798 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.007613, allocations: 20.52 kB / 0.8798 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.007694, allocations: 17.62 kB / 0.8798 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.007712, allocations: 3.938 kB / 0.8798 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.008223, allocations: 159.7 kB / 0.88 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.008246, allocations: 4 kB / 0.88 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.008287, allocations: 7.984 kB / 0.88 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.008724, allocations: 136.1 kB / 0.8801 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.008728, allocations: 1.375 kB / 0.8801 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.392e-06/0.008729, allocations: 0 / 0.8801 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.008734, allocations: 4 kB / 0.8801 GB, free: 2.789 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006585/0.009393, allocations: 287.5 kB / 0.8804 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.009443, allocations: 8.031 kB / 0.8804 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.009525, allocations: 4.938 kB / 0.8804 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.009707, allocations: 113.7 kB / 0.8805 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.009854, allocations: 63.95 kB / 0.8806 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.009875, allocations: 4.375 kB / 0.8806 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.01012, allocations: 67.95 kB / 0.8806 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01013, allocations: 192 / 0.8806 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.01014, allocations: 384 / 0.8806 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01016, allocations: 4.125 kB / 0.8806 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.01034, allocations: 19.98 kB / 0.8807 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.0106, allocations: 113.2 kB / 0.8808 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.01093, allocations: 46.5 kB / 0.8808 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.01104, allocations: 16.86 kB / 0.8808 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.01143, allocations: 24.06 kB / 0.8809 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.01148, allocations: 34.56 kB / 0.8809 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.01148, allocations: 0 / 0.8809 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.000463/0.01194, allocations: 69.67 kB / 0.881 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.01201, allocations: 51.41 kB / 0.881 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.01214, allocations: 105.8 kB / 0.8811 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.01218, allocations: 33.58 kB / 0.8811 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.01226, allocations: 80.14 kB / 0.8812 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.0123, allocations: 15.91 kB / 0.8812 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.01237, allocations: 13.72 kB / 0.8812 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.01262, allocations: 322.8 kB / 0.8816 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.01272, allocations: 8 kB / 0.8816 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.01282, allocations: 11.98 kB / 0.8816 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.01301, allocations: 25.31 kB / 0.8816 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01301, allocations: 0 / 0.8816 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002961/0.01331, allocations: 65.67 kB / 0.8817 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.01333, allocations: 4 kB / 0.8817 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.01334, allocations: 4 kB / 0.8817 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.01337, allocations: 3.938 kB / 0.8817 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01347, allocations: 7.984 kB / 0.8817 GB, free: 1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.01348, allocations: 3.938 kB / 0.8817 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.01354, allocations: 4 kB / 0.8817 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.01355, allocations: 0 / 0.8817 GB, free: 0.9922 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001467/0.01369, allocations: 113.8 kB / 0.8818 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.01372, allocations: 7.953 kB / 0.8818 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.01407, allocations: 65.36 kB / 0.8819 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01407, allocations: 0 / 0.8819 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.01408, allocations: 4 kB / 0.8819 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.01409, allocations: 3.938 kB / 0.8819 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.01427, allocations: 109.3 kB / 0.882 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01427, allocations: 0 / 0.882 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.01436, allocations: 7.938 kB / 0.882 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01437, allocations: 0 / 0.882 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01437, allocations: 4 kB / 0.882 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.01438, allocations: 4 kB / 0.882 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01438, allocations: 0 / 0.882 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.0147, allocations: 85.05 kB / 0.8821 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.01477, allocations: 11.92 kB / 0.8821 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01479, allocations: 0 / 0.8821 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.01491, allocations: 8 kB / 0.8821 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.01496, allocations: 0 / 0.8821 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01497, allocations: 3.984 kB / 0.8821 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.01505, allocations: 87.16 kB / 0.8822 GB, free: 428 kB / 0.7917 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01505, allocations: 0 / 0.8822 GB, free: 428 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004883/0.01554, allocations: 39.88 kB / 0.8822 GB, free: 388 kB / 0.7917 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 (4): * Single equations (assignments): 4 * 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.0004274/0.01597, allocations: 143 kB / 0.8824 GB, free: 232 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.01623, allocations: 27.97 kB / 0.8824 GB, free: 204 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01624, allocations: 0 / 0.8824 GB, free: 204 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01635, allocations: 12 kB / 0.8824 GB, free: 192 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.01677, allocations: 9.859 kB / 0.8824 GB, free: 184 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.01721, allocations: 124.7 kB / 0.8825 GB, free: 32 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.01732, allocations: 59.34 kB / 0.8826 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.721e-05/0.01739, allocations: 4.469 kB / 0.8826 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.01744, allocations: 16.5 kB / 0.8826 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.01744, allocations: 4 kB / 0.8826 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.006881/0.02432, allocations: 1.131 MB / 0.8837 GB, free: 14.81 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.193905693013221]