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.001413/0.001413, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001799/0.001799, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.07/1.07, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.761/1.761, allocations: 359 MB / 0.6055 GB, free: 10.84 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.854e-06/1.854e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.878e-05, allocations: 3.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001605/0.001624, allocations: 1.315 MB / 0.7888 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.002601, allocations: 0.8309 MB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.00263, allocations: 0 / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.002648, allocations: 0 / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.002694, allocations: 9.141 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.003146, allocations: 131.8 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.003209, allocations: 30.75 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.003239, allocations: 0 / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.003293, allocations: 19.92 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.003344, allocations: 7.984 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.003356, allocations: 4 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.003561, allocations: 163.6 kB / 0.79 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.003577, allocations: 3.984 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.003593, allocations: 9.375 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.003768, allocations: 143.5 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003769, allocations: 0 / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00377, allocations: 0 / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003773, allocations: 0.5938 kB / 0.7902 GB, free: 9.527 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.0003102/0.004083, allocations: 393.2 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.004118, allocations: 12.03 kB / 0.7905 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.004143, allocations: 4.938 kB / 0.7905 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.327e-05/0.004207, allocations: 109.3 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.004259, allocations: 55.97 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.004267, allocations: 2.188 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.004352, allocations: 84.59 kB / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004358, allocations: 192 / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.004363, allocations: 384 / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004369, allocations: 5.656 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.00439, allocations: 11.98 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.462e-05/0.004485, allocations: 97.27 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.004603, allocations: 39.09 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.004618, allocations: 17.59 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.004753, allocations: 28.06 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.004774, allocations: 39.8 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.004776, allocations: 0 / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001109/0.004887, allocations: 53.78 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.004913, allocations: 55.41 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.004977, allocations: 161.9 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.004989, allocations: 33.64 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.005022, allocations: 127.4 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.005046, allocations: 8.625 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.005073, allocations: 23.38 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.005202, allocations: 0.4928 MB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.005213, allocations: 5.609 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.005225, allocations: 4 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.005253, allocations: 23.62 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005255, allocations: 0 / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.285e-05/0.005308, allocations: 46.31 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.00532, allocations: 4.688 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005324, allocations: 0 / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005335, allocations: 0.6875 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.303e-05/0.005368, allocations: 11.98 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005373, allocations: 4.891 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.005388, allocations: 7.875 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.005394, allocations: 5.375 kB / 0.792 GB, free: 7.383 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 6.45e-05/0.005458, allocations: 160.5 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.005464, allocations: 0 / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.344e-05/0.005547, allocations: 62.52 kB / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005549, allocations: 0 / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.005551, allocations: 0 / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005553, allocations: 0.5 kB / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.02e-05/0.005624, allocations: 105.2 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005624, allocations: 0.5 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.005646, allocations: 12.83 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005647, allocations: 0 / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-06/0.005652, allocations: 0.8438 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.005653, allocations: 0 / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005653, allocations: 0 / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.791e-05/0.005721, allocations: 90.03 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.005746, allocations: 7.984 kB / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005753, allocations: 0 / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.005773, allocations: 11.98 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.005802, allocations: 0.8125 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.005805, allocations: 0 / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.00584, allocations: 133.8 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00584, allocations: 0 / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001647/0.006004, allocations: 35.88 kB / 0.7926 GB, free: 6.711 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.0001627/0.006167, allocations: 139 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.00624, allocations: 37.81 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006241, allocations: 0 / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.006258, allocations: 15.69 kB / 0.7928 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.00639, allocations: 19.86 kB / 0.7928 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.006816, allocations: 128.2 kB / 0.793 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.006849, allocations: 59.34 kB / 0.793 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.006878, allocations: 6.344 kB / 0.793 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.00694, allocations: 79.03 kB / 0.7931 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.006941, allocations: 0 / 0.7931 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.002838/0.009779, allocations: 1.308 MB / 0.7944 GB, free: 4.891 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: 5.013401519041508]