Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001025/0.001025, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001083/0.001083, allocations: 169 kB / 23.27 MB, free: 1.223 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.9541/0.9541, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.319/2.319, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.53e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002026/0.002051, allocations: 1.547 MB / 0.8912 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.002943, allocations: 0.7983 MB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.002974, allocations: 0 / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.002998, allocations: 7.938 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.003043, allocations: 7.922 kB / 0.892 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.003393, allocations: 139.2 kB / 0.8922 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.00346, allocations: 55.78 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.003544, allocations: 19.97 kB / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.003599, allocations: 27.91 kB / 0.8923 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.003644, allocations: 19.97 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003658, allocations: 4 kB / 0.8923 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.003866, allocations: 167.7 kB / 0.8924 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.003881, allocations: 4 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.0039, allocations: 15.92 kB / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004092, allocations: 163.5 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004093, allocations: 0 / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004094, allocations: 0 / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.004097, allocations: 4 kB / 0.8926 GB, free: 6.805 MB / 0.8542 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.0003062/0.004403, allocations: 407.9 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.004438, allocations: 12.61 kB / 0.893 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.004462, allocations: 8.891 kB / 0.893 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.952e-05/0.004532, allocations: 120.5 kB / 0.8931 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004542, allocations: 8.375 kB / 0.8932 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-06/0.004549, allocations: 4.375 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.004679, allocations: 70.88 kB / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.004684, allocations: 192 / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.00469, allocations: 4.375 kB / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.004693, allocations: 384 / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.004715, allocations: 15.92 kB / 0.8932 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.00493, allocations: 244.4 kB / 0.8935 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.004985, allocations: 42.98 kB / 0.8935 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.005003, allocations: 15.69 kB / 0.8935 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/0.005093, allocations: 16.02 kB / 0.8936 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.005112, allocations: 37.39 kB / 0.8936 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.005113, allocations: 0 / 0.8936 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001122/0.005225, allocations: 53.62 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.005251, allocations: 51.41 kB / 0.8937 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.005325, allocations: 173.9 kB / 0.8939 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.005335, allocations: 25.7 kB / 0.8939 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.005386, allocations: 142.8 kB / 0.894 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.005403, allocations: 7.938 kB / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.005429, allocations: 19.38 kB / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.005566, allocations: 0.4884 MB / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.005577, allocations: 0 / 0.8945 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.005588, allocations: 7.984 kB / 0.8945 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.005615, allocations: 19.69 kB / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005616, allocations: 0 / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.471e-05/0.005671, allocations: 49.58 kB / 0.8946 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.005685, allocations: 10.28 kB / 0.8946 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.005689, allocations: 0 / 0.8946 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.547e-06/0.005697, allocations: 0 / 0.8946 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.005746, allocations: 8 kB / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005749, allocations: 0 / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.00577, allocations: 11.98 kB / 0.8946 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.005777, allocations: 4 kB / 0.8946 GB, free: 4.555 MB / 0.8542 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 5.992e-05/0.005837, allocations: 156.6 kB / 0.8948 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.00585, allocations: 4 kB / 0.8948 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.005923, allocations: 57.92 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005924, allocations: 0 / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.005927, allocations: 4 kB / 0.8948 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005929, allocations: 0 / 0.8948 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.808e-05/0.006017, allocations: 101.2 kB / 0.8949 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.006019, allocations: 0 / 0.8949 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.006045, allocations: 15.94 kB / 0.8949 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006047, allocations: 4 kB / 0.895 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.006052, allocations: 7.984 kB / 0.895 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006053, allocations: 0 / 0.895 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.006055, allocations: 3.938 kB / 0.895 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.94e-05/0.006144, allocations: 191.8 kB / 0.8951 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006153, allocations: 11.95 kB / 0.8952 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006164, allocations: 4 kB / 0.8952 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.006199, allocations: 8 kB / 0.8952 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.00623, allocations: 7.922 kB / 0.8952 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.006232, allocations: 0 / 0.8952 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.00627, allocations: 135.2 kB / 0.8953 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.00627, allocations: 3.938 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001565/0.006427, allocations: 39.88 kB / 0.8953 GB, free: 3.742 MB / 0.8542 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.0001438/0.006571, allocations: 127.1 kB / 0.8955 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.016e-05/0.006631, allocations: 15.69 kB / 0.8955 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.006632, allocations: 0 / 0.8955 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.006651, allocations: 19.67 kB / 0.8955 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.006809, allocations: 8 kB / 0.8955 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.007028, allocations: 165.9 kB / 0.8957 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.00706, allocations: 59.34 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.007078, allocations: 4 kB / 0.8957 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.007126, allocations: 74.2 kB / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.007126, allocations: 0 / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of Templates: time 0.002861/0.009987, allocations: 1.606 MB / 0.8974 GB, free: 1.617 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.411954109091312]