Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001035/0.001035, allocations: 193.2 kB / 16.14 MB, free: 6.648 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.91 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7775/0.7788, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002853/0.7817, allocations: 1.334 MB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.7832, allocations: 0.8498 MB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.7833, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.7833, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.7834, allocations: 11.92 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.7839, allocations: 99.61 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.7839, allocations: 23.92 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.784, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.7841, allocations: 15.86 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.7841, allocations: 15.98 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.7842, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.7845, allocations: 179.6 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.7845, allocations: 3.984 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.7846, allocations: 15.94 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.7848, allocations: 113.8 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.7849, allocations: 4 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7849, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7849, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 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.0005524/0.7854, allocations: 367.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.7855, allocations: 12.03 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.7856, allocations: 0.9375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.7857, allocations: 168.3 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.73e-05/0.7858, allocations: 30.2 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7858, allocations: 4.375 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.786, allocations: 46.23 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.786, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.786, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.786, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.7861, allocations: 23.98 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.7864, allocations: 157.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.7866, allocations: 50.5 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.7867, allocations: 16.86 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.787, allocations: 182.3 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.7871, allocations: 30.56 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7871, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002714/0.7874, allocations: 69.61 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.7874, allocations: 51.41 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.7875, allocations: 102.2 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.7875, allocations: 29.64 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.7876, allocations: 88.14 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.7876, allocations: 19.75 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.7876, allocations: 9.719 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7878, allocations: 318.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.7879, allocations: 8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.7879, allocations: 11.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.471e-05/0.788, allocations: 32.97 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.788, allocations: 8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.7882, allocations: 53.62 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.7882, allocations: 11.94 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.7882, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7882, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.7883, allocations: 11.92 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7883, allocations: 7.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.7883, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.7883, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 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 9.537e-05/0.7884, allocations: 113.8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.7885, allocations: 3.938 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.7887, allocations: 69.08 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7887, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7887, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7887, allocations: 3.984 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.7888, allocations: 161.7 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7888, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.7889, allocations: 7.938 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7889, allocations: 7.938 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.7889, allocations: 4 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7889, allocations: 0 / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7889, allocations: 0 / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.7891, allocations: 81.11 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.7892, allocations: 81.05 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7892, allocations: 7.922 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.7893, allocations: 8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.7893, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.7893, allocations: 8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.7894, allocations: 79.27 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7894, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002352/0.7896, allocations: 28 kB / 1.022 GB, free: 13.18 MB / 0.7794 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.0002681/0.7899, allocations: 159 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.79, allocations: 27.98 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7901, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.7901, allocations: 15.92 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.7904, allocations: 8.469 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.7907, allocations: 130.9 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.791, allocations: 0.6809 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.7911, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.7911, allocations: 7.438 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7911, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.003498/0.7946, allocations: 1.013 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches