Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006844/0.006844, allocations: 96.06 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 202.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.77/2.77, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 57.75 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3432, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003522/0.3468, allocations: 1.485 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3483, allocations: 0.8121 MB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.3484, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.3485, allocations: 3.938 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.3486, allocations: 11.86 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.3492, allocations: 127.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3493, allocations: 55.78 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3494, allocations: 19.98 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.3495, allocations: 15.94 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.3495, allocations: 27.84 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3496, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.35, allocations: 167.8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.35, allocations: 4 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.35, allocations: 27.86 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.3504, allocations: 155.5 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3504, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3504, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3504, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 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.0006058/0.351, allocations: 398.9 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3511, allocations: 12.03 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.3511, allocations: 8.875 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3513, allocations: 172.3 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3513, allocations: 12.38 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3513, allocations: 384 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3516, allocations: 70.22 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3516, allocations: 4.172 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3516, allocations: 3.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3516, allocations: 7.938 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.3519, allocations: 75.91 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.3523, allocations: 276.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3525, allocations: 54.53 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.3528, allocations: 44.86 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.353, allocations: 93.03 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.353, allocations: 34.55 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.353, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005613/0.3536, allocations: 133.5 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3536, allocations: 51.41 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3537, allocations: 121.8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3537, allocations: 25.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.3538, allocations: 92.14 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3538, allocations: 11.84 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3539, allocations: 13.72 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.354, allocations: 326.8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3542, allocations: 39.91 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3543, allocations: 31.95 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3546, allocations: 72.78 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3546, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000324/0.3549, allocations: 93.62 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.355, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.355, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.355, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3551, allocations: 11.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3551, allocations: 11.94 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.3552, allocations: 11.97 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3553, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 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 8.026e-05/0.3553, allocations: 113.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3554, allocations: 7.953 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.3558, allocations: 109.5 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3559, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3559, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3559, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3561, allocations: 173.6 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3561, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.3562, allocations: 15.98 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3562, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3562, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3562, allocations: 7.938 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3562, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3566, allocations: 203.7 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3567, allocations: 77.11 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3567, allocations: 7.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3568, allocations: 11.98 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3569, allocations: 11.98 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3569, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.3569, allocations: 95.2 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3569, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002757/0.3572, allocations: 31.88 kB / 1.094 GB, free: 11.09 MB / 0.8575 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.0002545/0.3575, allocations: 131.2 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.3578, allocations: 75.86 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3579, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.358, allocations: 35.97 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3584, allocations: 23.92 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.3587, allocations: 139.2 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.3592, allocations: 0.6885 MB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.3593, allocations: 3.984 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3593, allocations: 15.38 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3593, allocations: 0 / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of Templates: time 0.004049/0.3634, allocations: 1.373 MB / 1.096 GB, free: 8.562 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches