Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001439/0.001439, 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.001866/0.001866, 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 1.094/1.094, 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.348/2.348, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.14e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001559/0.001581, allocations: 1.348 MB / 0.8911 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.002514, allocations: 0.8177 MB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.002537, allocations: 0 / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.002556, allocations: 3.938 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.002601, allocations: 3.938 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.002994, allocations: 139.2 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.003058, allocations: 19.92 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.003092, allocations: 7.938 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.003149, allocations: 15.98 kB / 0.892 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.003203, allocations: 7.984 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.003215, allocations: 0 / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.003426, allocations: 163.6 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.003444, allocations: 8 kB / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.003458, allocations: 8 kB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.003641, allocations: 139.6 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003642, allocations: 0 / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003643, allocations: 0 / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003646, allocations: 0 / 0.8923 GB, free: 7.059 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003266/0.003973, allocations: 392 kB / 0.8927 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.004009, allocations: 8.625 kB / 0.8927 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.004039, allocations: 16.83 kB / 0.8927 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.868e-05/0.004108, allocations: 108.6 kB / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.004165, allocations: 59.97 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.004171, allocations: 384 / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.004266, allocations: 80.66 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004274, allocations: 4.172 kB / 0.893 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.00428, allocations: 384 / 0.893 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004285, allocations: 4.125 kB / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.004305, allocations: 7.984 kB / 0.893 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.075e-05/0.004395, allocations: 97.27 kB / 0.8931 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.004511, allocations: 55.02 kB / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.004527, allocations: 11.69 kB / 0.8932 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.004665, allocations: 36.06 kB / 0.8932 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.004685, allocations: 37.33 kB / 0.8932 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.004686, allocations: 0 / 0.8932 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001043/0.00479, allocations: 53.62 kB / 0.8933 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.004812, allocations: 51.41 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.004879, allocations: 157.9 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.004889, allocations: 25.7 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.00492, allocations: 126.9 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.004944, allocations: 23.84 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.00497, allocations: 23.36 kB / 0.8937 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.005227, allocations: 0.4883 MB / 0.8941 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.005241, allocations: 4 kB / 0.8941 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.00525, allocations: 4 kB / 0.8941 GB, free: 5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.00528, allocations: 23.67 kB / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005282, allocations: 0 / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.198e-05/0.005334, allocations: 49.59 kB / 0.8942 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.005344, allocations: 4 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.005349, allocations: 7.984 kB / 0.8942 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.005358, allocations: 4 kB / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.302e-05/0.005391, allocations: 4 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005393, allocations: 0 / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.005409, allocations: 7.938 kB / 0.8942 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.005412, allocations: 0 / 0.8942 GB, free: 4.891 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 (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.469e-05/0.005467, allocations: 152.6 kB / 0.8944 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.005473, allocations: 4.516 kB / 0.8944 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.005547, allocations: 61.3 kB / 0.8945 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.005551, allocations: 8.031 kB / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005552, allocations: 0 / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005555, allocations: 4 kB / 0.8945 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.881e-05/0.005613, allocations: 101.2 kB / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005614, allocations: 0 / 0.8946 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.005633, allocations: 7.984 kB / 0.8946 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.005634, allocations: 4 kB / 0.8946 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.005639, allocations: 4 kB / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00564, allocations: 0 / 0.8946 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.005643, allocations: 4 kB / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.016e-05/0.005703, allocations: 84.33 kB / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.005727, allocations: 15.92 kB / 0.8947 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.005734, allocations: 4 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.00575, allocations: 0 / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.005777, allocations: 7.938 kB / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.00578, allocations: 0 / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.005812, allocations: 127.2 kB / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005812, allocations: 0 / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001441/0.005956, allocations: 35.88 kB / 0.8948 GB, free: 4.207 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 (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.0001316/0.006088, allocations: 139 kB / 0.895 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.974e-05/0.006148, allocations: 27.67 kB / 0.895 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.006149, allocations: 0 / 0.895 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.006167, allocations: 23.62 kB / 0.895 GB, free: 4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.006293, allocations: 11.92 kB / 0.895 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.006675, allocations: 134.3 kB / 0.8952 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.648e-05/0.006702, allocations: 51.36 kB / 0.8952 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.006735, allocations: 11.98 kB / 0.8952 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.006786, allocations: 78.19 kB / 0.8953 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.006786, allocations: 0 / 0.8953 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of Templates: time 0.002506/0.009292, allocations: 1.308 MB / 0.8966 GB, free: 2.367 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.465234027244151]