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.001433/0.001433, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001613/0.001613, allocations: 161 kB / 23.82 MB, free: 0.75 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.8959/0.8959, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.69/1.69, allocations: 359 MB / 0.6052 GB, free: 10.96 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.683e-06/1.683e-06, allocations: 0.6562 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.323e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002638/0.002671, allocations: 1.315 MB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003976, allocations: 0.8423 MB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.004002, allocations: 0 / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.004027, allocations: 1.406 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.004079, allocations: 3.984 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.004665, allocations: 136.3 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.004753, allocations: 27.86 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.004793, allocations: 1.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.004858, allocations: 15.97 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.00492, allocations: 11.98 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004939, allocations: 4 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.005237, allocations: 161.3 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.005257, allocations: 3.984 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.005284, allocations: 7.984 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.005797, allocations: 139.5 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.005802, allocations: 1.594 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005804, allocations: 0 / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.005809, allocations: 0 / 0.7897 GB, free: 9.781 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.0004578/0.006267, allocations: 396.3 kB / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.006311, allocations: 13.75 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.006366, allocations: 4.938 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.00646, allocations: 104.6 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.006552, allocations: 67.88 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.006563, allocations: 384 / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.006707, allocations: 83.19 kB / 0.7903 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006715, allocations: 192 / 0.7903 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006726, allocations: 4.375 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.006736, allocations: 12.06 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.006771, allocations: 4 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.006915, allocations: 120.6 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.007115, allocations: 43.72 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.007147, allocations: 16.22 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.007349, allocations: 29.38 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.007377, allocations: 34.55 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.007378, allocations: 0 / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.00756, allocations: 62.95 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.007591, allocations: 51.41 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.007674, allocations: 165.9 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.007689, allocations: 25.7 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.007725, allocations: 128.6 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.007753, allocations: 11.91 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.007788, allocations: 19.38 kB / 0.791 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.007924, allocations: 0.4884 MB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.007946, allocations: 7.984 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.007962, allocations: 4.594 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/0.008008, allocations: 24.56 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00801, allocations: 0 / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.707e-05/0.008097, allocations: 48.14 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.008113, allocations: 8 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008118, allocations: 0 / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.008133, allocations: 0 / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.008187, allocations: 11.98 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.008195, allocations: 6.062 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.008216, allocations: 3.938 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.008221, allocations: 0 / 0.7916 GB, free: 7.598 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 7.655e-05/0.008298, allocations: 156.6 kB / 0.7918 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.008311, allocations: 4 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.008438, allocations: 69.8 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008441, allocations: 4.656 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.008445, allocations: 0 / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008449, allocations: 4.469 kB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.1e-05/0.00854, allocations: 120.6 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008542, allocations: 1.562 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.008577, allocations: 7.984 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.00858, allocations: 0 / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.008589, allocations: 4 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.008591, allocations: 0.9062 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.008592, allocations: 0 / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.008696, allocations: 93.16 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.00874, allocations: 7.984 kB / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.008753, allocations: 1.312 kB / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.008784, allocations: 4 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.008828, allocations: 8 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.008833, allocations: 0 / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.008878, allocations: 131.6 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008878, allocations: 0.7188 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000273/0.009151, allocations: 31.88 kB / 0.7923 GB, free: 6.887 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.0002456/0.009397, allocations: 148.7 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.009505, allocations: 27.61 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.009507, allocations: 0.875 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.009534, allocations: 19.69 kB / 0.7924 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.009744, allocations: 11.45 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.01037, allocations: 126.3 kB / 0.7926 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.01041, allocations: 59.3 kB / 0.7926 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4e-05/0.01045, allocations: 5.594 kB / 0.7926 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.01048, allocations: 9.094 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01048, allocations: 3.938 kB / 0.7926 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.003773/0.01425, allocations: 1.284 MB / 0.7939 GB, free: 5.168 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.779531072825193]