Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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.000937/0.000937, allocations: 82.64 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.0009589/0.0009589, allocations: 185 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 0.9909/0.9909, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.732/1.732, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.863e-05, allocations: 3 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002821/0.00285, allocations: 1.537 MB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004092, allocations: 0.8061 MB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.004137, allocations: 0.625 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.00417, allocations: 5.344 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.004233, allocations: 19.84 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.004716, allocations: 136.1 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.004804, allocations: 48.36 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.004899, allocations: 15.97 kB / 0.79 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.004967, allocations: 24.67 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.005017, allocations: 24.81 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.005032, allocations: 4 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.005331, allocations: 159.7 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.005353, allocations: 20.56 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.005375, allocations: 8 kB / 0.7903 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.005624, allocations: 161.1 kB / 0.7904 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.005626, allocations: 0 / 0.7904 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.005627, allocations: 0 / 0.7904 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.005631, allocations: 0 / 0.7904 GB, free: 9.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004018/0.006033, allocations: 424.8 kB / 0.7908 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.006072, allocations: 11.44 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.006102, allocations: 4.938 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.006186, allocations: 120.5 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.006198, allocations: 4.375 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.006207, allocations: 4.375 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.006341, allocations: 66.94 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.006348, allocations: 192 / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.006354, allocations: 384 / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.00636, allocations: 384 / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.006388, allocations: 12.64 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.00666, allocations: 252.3 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/0.006728, allocations: 48.75 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.006749, allocations: 11.69 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.006863, allocations: 17.44 kB / 0.7914 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.006883, allocations: 33.39 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.006884, allocations: 0 / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001476/0.007032, allocations: 53.56 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.007063, allocations: 56.56 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.007144, allocations: 165.9 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.007154, allocations: 25.7 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.007207, allocations: 143.6 kB / 0.7918 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.007226, allocations: 7.938 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.007261, allocations: 23.92 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.007386, allocations: 492.1 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.007401, allocations: 5.406 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.007416, allocations: 3.984 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.007451, allocations: 19.69 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007453, allocations: 0.5312 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.901e-05/0.007522, allocations: 53.52 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.007536, allocations: 9.281 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007541, allocations: 0 / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.007553, allocations: 0 / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.007616, allocations: 8.562 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007621, allocations: 4.547 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.00765, allocations: 4 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.007657, allocations: 5.344 kB / 0.7924 GB, free: 7.012 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 (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 6.997e-05/0.007727, allocations: 156.6 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.007749, allocations: 7.953 kB / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.339e-05/0.007842, allocations: 58.14 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.007846, allocations: 5.469 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007848, allocations: 0 / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007851, allocations: 0 / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.00797, allocations: 105.2 kB / 0.7927 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007971, allocations: 1.125 kB / 0.7927 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.008011, allocations: 15.98 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008013, allocations: 0 / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.008017, allocations: 0.5312 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.008018, allocations: 4.531 kB / 0.7928 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.008022, allocations: 3.938 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.008134, allocations: 189.2 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.008143, allocations: 7.984 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.008153, allocations: 4.781 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.008211, allocations: 8 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.008246, allocations: 8.453 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.008249, allocations: 0.8125 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.008293, allocations: 135.5 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008293, allocations: 0.9375 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002509/0.008544, allocations: 35.88 kB / 0.7931 GB, free: 6.223 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 (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 Backend phase and start with SimCode phase: time 0.0002038/0.008748, allocations: 136.3 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.205e-05/0.00884, allocations: 19.67 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.008842, allocations: 4.969 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.008871, allocations: 15.62 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.009117, allocations: 16.72 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.009457, allocations: 154 kB / 0.7935 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.009504, allocations: 62.78 kB / 0.7935 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.009534, allocations: 4 kB / 0.7935 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.009607, allocations: 74.2 kB / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.009607, allocations: 0 / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.003804/0.01341, allocations: 1.603 MB / 0.7952 GB, free: 4.117 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_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.831825915724039]