Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.00225/0.00225, allocations: 83.69 kB / 20.24 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.001907/0.001907, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.641 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.05/3.05, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.75e-05/3.912e-05, allocations: 3.078 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003843/0.003882, allocations: 1.322 MB / 0.8121 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2042/0.2081, allocations: 143.2 MB / 0.9519 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2081, allocations: 0 / 0.9519 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.2082, allocations: 3.938 kB / 0.9519 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.2082, allocations: 7.922 kB / 0.9519 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.2087, allocations: 123.3 kB / 0.952 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.2088, allocations: 19.86 kB / 0.9521 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.2088, allocations: 0 / 0.9521 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.2088, allocations: 15.94 kB / 0.9521 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.2089, allocations: 11.97 kB / 0.9521 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2089, allocations: 3.938 kB / 0.9521 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.2093, allocations: 163.6 kB / 0.9522 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2093, allocations: 0 / 0.9522 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2094, allocations: 7.984 kB / 0.9522 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.2096, allocations: 135.6 kB / 0.9524 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2096, allocations: 0 / 0.9524 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2096, allocations: 0 / 0.9524 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2096, allocations: 0 / 0.9524 GB, free: 0.6484 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000427/0.2101, allocations: 383.9 kB / 0.9527 GB, free: 244 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2101, allocations: 8.031 kB / 0.9528 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.2107, allocations: 40.83 kB / 0.9528 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2108, allocations: 112.6 kB / 0.9529 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2108, allocations: 4.375 kB / 0.9529 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2108, allocations: 384 / 0.9529 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.211, allocations: 53.59 kB / 0.953 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.211, allocations: 0 / 0.953 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.211, allocations: 0 / 0.953 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.211, allocations: 0 / 0.953 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.2111, allocations: 11.98 kB / 0.953 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.2115, allocations: 259.7 kB / 0.9532 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.2116, allocations: 39.03 kB / 0.9532 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.2116, allocations: 11.75 kB / 0.9533 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2116, allocations: 4 kB / 0.9533 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2116, allocations: 33.39 kB / 0.9533 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2116, allocations: 0 / 0.9533 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001769/0.2118, allocations: 49.59 kB / 0.9533 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2119, allocations: 55.39 kB / 0.9534 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2121, allocations: 174 kB / 0.9536 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2122, allocations: 29.7 kB / 0.9536 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.2122, allocations: 130.9 kB / 0.9537 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.2123, allocations: 3.953 kB / 0.9537 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.2123, allocations: 23.36 kB / 0.9537 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.2126, allocations: 0.4884 MB / 0.9542 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.2126, allocations: 7.984 kB / 0.9542 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.2127, allocations: 8 kB / 0.9542 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.2127, allocations: 27.61 kB / 0.9543 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2128, allocations: 4 kB / 0.9543 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.2129, allocations: 61.56 kB / 0.9543 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2129, allocations: 8 kB / 0.9543 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2129, allocations: 0 / 0.9543 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.213, allocations: 0 / 0.9543 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/0.2131, allocations: 7.984 kB / 0.9543 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2131, allocations: 4 kB / 0.9543 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2132, allocations: 7.938 kB / 0.9543 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2132, allocations: 4 kB / 0.9544 GB, free: 14.42 MB / 0.9167 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 (3): * Single equations (assignments): 3 * 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.0001101/0.2133, allocations: 156.5 kB / 0.9545 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.2133, allocations: 8 kB / 0.9545 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.2134, allocations: 7.297 kB / 0.9545 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2134, allocations: 0 / 0.9545 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2134, allocations: 0 / 0.9545 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2134, allocations: 0 / 0.9545 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2135, allocations: 116.6 kB / 0.9546 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2135, allocations: 0 / 0.9546 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.2136, allocations: 4 kB / 0.9546 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2136, allocations: 4 kB / 0.9546 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2136, allocations: 7.984 kB / 0.9546 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2136, allocations: 3.938 kB / 0.9546 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2136, allocations: 4 kB / 0.9546 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.2137, allocations: 183.9 kB / 0.9548 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.2138, allocations: 7.953 kB / 0.9548 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2138, allocations: 3.984 kB / 0.9548 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.2139, allocations: 0 / 0.9548 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.2139, allocations: 4 kB / 0.9548 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2139, allocations: 3.938 kB / 0.9548 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001188/0.214, allocations: 143.5 kB / 0.955 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.214, allocations: 0 / 0.955 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000234/0.2142, allocations: 12 kB / 0.955 GB, free: 13.7 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0001874/0.2144, allocations: 111.2 kB / 0.9551 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.2146, allocations: 31.61 kB / 0.9551 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2146, allocations: 0 / 0.9551 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.2146, allocations: 11.69 kB / 0.9551 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2149, allocations: 15.98 kB / 0.9552 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.2152, allocations: 118.4 kB / 0.9553 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.636e-05/0.2152, allocations: 59.34 kB / 0.9553 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.2153, allocations: 8 kB / 0.9553 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.2153, allocations: 16.44 kB / 0.9553 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of SimCode: time 4.4e-07/0.2153, allocations: 0 / 0.9553 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of Templates: time 0.003776/0.2191, allocations: 0.8045 MB / 0.9561 GB, free: 12.48 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.435622661025263]