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.0008339/0.0008339, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001893, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006941/0.0006941, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009497/0.001644, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9833/0.9833, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08839/1.072, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.318/2.318, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2589/2.577, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.312e-06/1.312e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.23e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001491/0.001503, allocations: 1.382 MB / 0.8197 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.002306, allocations: 0.8449 MB / 0.8205 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.002326, allocations: 0 / 0.8205 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.113e-06/0.002333, allocations: 0 / 0.8205 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.006e-05/0.002353, allocations: 3.938 kB / 0.8205 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.002657, allocations: 127.3 kB / 0.8206 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.002726, allocations: 31.86 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.002758, allocations: 4 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.002828, allocations: 19.92 kB / 0.8207 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.002877, allocations: 7.984 kB / 0.8207 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.00289, allocations: 4 kB / 0.8207 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.00312, allocations: 167.6 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.003132, allocations: 4 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.003147, allocations: 4 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.003309, allocations: 119.6 kB / 0.821 GB, free: 184 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.003323, allocations: 0 / 0.821 GB, free: 184 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003324, allocations: 4 kB / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.00334, allocations: 0 / 0.821 GB, free: 180 kB / 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.0003684/0.003708, allocations: 280.3 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.003736, allocations: 12.62 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.003763, allocations: 8.922 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.003843, allocations: 105.8 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.0039, allocations: 59.97 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003908, allocations: 384 / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.004006, allocations: 84.58 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004013, allocations: 192 / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004019, allocations: 4.375 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.004025, allocations: 4.125 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.004047, allocations: 4 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.465e-05/0.004122, allocations: 69.05 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.004246, allocations: 30.61 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.00426, allocations: 8.859 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.004378, allocations: 28.06 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.004399, allocations: 46.44 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.0044, allocations: 0 / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 8.873e-05/0.004489, allocations: 41.69 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.004513, allocations: 51.41 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.567e-05/0.004558, allocations: 106.7 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.004575, allocations: 25.7 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.004595, allocations: 84.14 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.00462, allocations: 15.84 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.004645, allocations: 13.72 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.004739, allocations: 322.8 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.00476, allocations: 8 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.00477, allocations: 8.312 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.004796, allocations: 20.92 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004798, allocations: 0 / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.555e-05/0.004844, allocations: 41.69 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.004853, allocations: 4 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.004857, allocations: 0 / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.004865, allocations: 0 / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.00491, allocations: 8 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004912, allocations: 0 / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.004926, allocations: 12 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.00493, allocations: 3.938 kB / 0.8224 GB, free: 14.52 MB / 0.8073 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 4.35e-05/0.004974, allocations: 113.8 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.00498, allocations: 4 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.005038, allocations: 45.38 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.005039, allocations: 4 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005041, allocations: 3.984 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005044, allocations: 0 / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.905e-05/0.005093, allocations: 65.84 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005094, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.005112, allocations: 12 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.005169, allocations: 19.92 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.00517, allocations: 0 / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-06/0.005173, allocations: 0 / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005173, allocations: 0 / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.005175, allocations: 3.938 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.854e-05/0.005224, allocations: 73 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.683e-06/0.005231, allocations: 0 / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.798e-05/0.005248, allocations: 0 / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.005272, allocations: 7.984 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.005276, allocations: 4 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.883e-06/0.005283, allocations: 12.86 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005283, allocations: 0 / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001289/0.005412, allocations: 35.86 kB / 0.8228 GB, free: 14.07 MB / 0.8073 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.0001338/0.005546, allocations: 128.2 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.438e-05/0.0056, allocations: 16.8 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.005603, allocations: 4 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.005616, allocations: 13.22 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.051e-05/0.005706, allocations: 19.94 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.006464, allocations: 132.6 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.843e-05/0.006492, allocations: 67.14 kB / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.00652, allocations: 16.06 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.006563, allocations: 55.38 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.006563, allocations: 0 / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.002484/0.009048, allocations: 1.298 MB / 0.8245 GB, free: 12.27 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.ref.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: 5.102591153234243]