Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001285/0.001285, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001467/0.001467, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9671/0.9671, allocations: 177.1 MB / 204.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.084e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001832/0.001852, allocations: 1.325 MB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003026, allocations: 0.8328 MB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.003049, allocations: 0.6562 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.003074, allocations: 5.531 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.003124, allocations: 11.92 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.003585, allocations: 127.8 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.003654, allocations: 31.3 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.003694, allocations: 7.984 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.003746, allocations: 15.98 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.003804, allocations: 11.92 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.003819, allocations: 0 / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.004048, allocations: 159.7 kB / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.004068, allocations: 3.984 kB / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.004088, allocations: 11.98 kB / 0.7896 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.004287, allocations: 135.6 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004289, allocations: 4.719 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00429, allocations: 0 / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004294, allocations: 1.656 kB / 0.7897 GB, free: 9.828 MB / 0.7448 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.0003998/0.004694, allocations: 392.3 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.004731, allocations: 8.031 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.004772, allocations: 4.938 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.004856, allocations: 109.7 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/0.004931, allocations: 59.97 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.004944, allocations: 4.375 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.005061, allocations: 77.45 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005068, allocations: 192 / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005078, allocations: 9.719 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.005086, allocations: 4.125 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.005116, allocations: 4 kB / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.005244, allocations: 117.7 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.005405, allocations: 47.09 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.005427, allocations: 20.48 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.005588, allocations: 29.16 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.005613, allocations: 37.39 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.005614, allocations: 1.406 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001461/0.00576, allocations: 57.64 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.005785, allocations: 51.41 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.005858, allocations: 162.7 kB / 0.7909 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.00587, allocations: 26.2 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.005906, allocations: 134.9 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.005934, allocations: 12.44 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.005964, allocations: 24.25 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.006082, allocations: 492.1 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.006097, allocations: 4.812 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.006111, allocations: 12.02 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.006143, allocations: 20.22 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006145, allocations: 1.375 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.689e-05/0.006202, allocations: 49.69 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.006213, allocations: 4 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006217, allocations: 5.219 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.006232, allocations: 0 / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.362e-05/0.006265, allocations: 8 kB / 0.7916 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.006273, allocations: 7.922 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.006288, allocations: 4.594 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.006292, allocations: 4 kB / 0.7916 GB, free: 7.648 MB / 0.7448 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 5.704e-05/0.006349, allocations: 157.3 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.006356, allocations: 4.812 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.891e-05/0.006445, allocations: 57.36 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.006448, allocations: 4.938 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.006453, allocations: 4 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.006457, allocations: 5.156 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.498e-05/0.006522, allocations: 116.6 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006523, allocations: 0 / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.006542, allocations: 11.92 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006544, allocations: 4.938 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.006549, allocations: 0 / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00655, allocations: 2.219 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006551, allocations: 3.938 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.006618, allocations: 84.38 kB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.006649, allocations: 4 kB / 0.7921 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.006659, allocations: 0 / 0.7921 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.006677, allocations: 7.984 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.006709, allocations: 7.188 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.006712, allocations: 0 / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.006752, allocations: 127.1 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006752, allocations: 0 / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001659/0.006918, allocations: 39.86 kB / 0.7922 GB, free: 6.949 MB / 0.7448 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.0001576/0.007076, allocations: 147 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.316e-05/0.007159, allocations: 29.2 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00716, allocations: 0 / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.007177, allocations: 15.78 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.007319, allocations: 9.047 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.007797, allocations: 136.2 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.007831, allocations: 59.34 kB / 0.7926 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.007859, allocations: 11.36 kB / 0.7926 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.007881, allocations: 12.5 kB / 0.7926 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.007882, allocations: 0 / 0.7926 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.002714/0.0106, allocations: 1.15 MB / 0.7938 GB, free: 5.355 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.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: 4.999592752195895]