Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001952/0.001952, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002527/0.002527, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.471/1.471, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.823e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002479/0.002507, allocations: 1.293 MB / 0.8121 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004012, allocations: 0.7634 MB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.004031, allocations: 0 / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.004053, allocations: 5.234 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.004095, allocations: 7.875 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.004679, allocations: 133.2 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.004757, allocations: 27.8 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.004789, allocations: 4 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.004851, allocations: 15.97 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.004903, allocations: 9.047 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.004917, allocations: 3.938 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.005262, allocations: 161.2 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.005283, allocations: 7.984 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.005313, allocations: 11.92 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.005597, allocations: 135.6 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005599, allocations: 0.9688 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.0056, allocations: 0 / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.005604, allocations: 0 / 0.8133 GB, free: 15.54 MB / 0.7761 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.0004809/0.006085, allocations: 282.8 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.006125, allocations: 12.66 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.006177, allocations: 8.891 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.006292, allocations: 114.4 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.006398, allocations: 55.97 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.006408, allocations: 0.9375 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.006583, allocations: 73.06 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.006591, allocations: 4.188 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006602, allocations: 384 / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006609, allocations: 4.656 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.006714, allocations: 17.27 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.006883, allocations: 113.2 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.007103, allocations: 46.55 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.007166, allocations: 13.95 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.007407, allocations: 28.97 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.007438, allocations: 32.31 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.007439, allocations: 4 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002945/0.007734, allocations: 73.56 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.007777, allocations: 53.38 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.007869, allocations: 101.8 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.007894, allocations: 29.7 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.007945, allocations: 80.14 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.007966, allocations: 3.953 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.008008, allocations: 22.42 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.00818, allocations: 322.8 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.008231, allocations: 7.438 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.008284, allocations: 15.98 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.008388, allocations: 28.84 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00839, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001668/0.008557, allocations: 57.62 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.00857, allocations: 4 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.008574, allocations: 0 / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.00859, allocations: 0.625 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.008652, allocations: 11.98 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.008658, allocations: 8.375 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.008689, allocations: 1.531 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.008697, allocations: 4 kB / 0.8149 GB, free: 13.76 MB / 0.7761 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 8.87e-05/0.008785, allocations: 109.8 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.008801, allocations: 4.516 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.009005, allocations: 78.61 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.009008, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.009011, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.009021, allocations: 9.672 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.009129, allocations: 101.3 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.009132, allocations: 4 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.009182, allocations: 8 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009184, allocations: 0.8125 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009192, allocations: 3.984 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.009193, allocations: 0.9375 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009194, allocations: 0 / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.009394, allocations: 90.36 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.009433, allocations: 11.92 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.009447, allocations: 4 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.009498, allocations: 0.8125 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.009544, allocations: 11.92 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.009549, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.009604, allocations: 88.97 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009604, allocations: 0 / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002519/0.009855, allocations: 31.88 kB / 0.8154 GB, free: 13.15 MB / 0.7761 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.0002452/0.0101, allocations: 142.6 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.01047, allocations: 27.97 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01047, allocations: 0 / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.01053, allocations: 15.94 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01076, allocations: 13.81 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.01107, allocations: 120.6 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.01113, allocations: 64.28 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.01117, allocations: 10.02 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.0112, allocations: 9.625 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.0112, allocations: 0 / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.004203/0.0154, allocations: 1.141 MB / 0.8169 GB, free: 11.6 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.794779211981222]