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.0009841/0.000984, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006632/0.006633, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.692/2.692, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 8 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7695, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001898/0.7714, allocations: 0.9954 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.7735, allocations: 0.8421 MB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.7735, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.7736, allocations: 4 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.7737, allocations: 7.922 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.7744, allocations: 107.6 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.7745, allocations: 27.86 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.7746, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.7746, allocations: 15.92 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.7747, allocations: 11.98 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.7747, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.7753, allocations: 171.7 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.7753, allocations: 7.984 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.7754, allocations: 41.62 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.7758, allocations: 117.8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7758, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7758, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7758, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 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.0007411/0.7765, allocations: 360.9 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.7766, allocations: 8.031 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.7767, allocations: 4.938 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.7768, allocations: 164.3 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.777, allocations: 34.27 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.777, allocations: 4.375 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.7772, allocations: 42.23 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.7772, allocations: 7.938 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.7772, allocations: 4 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.7772, allocations: 4 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.7774, allocations: 11.98 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.7776, allocations: 169.6 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.7779, allocations: 46.5 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.778, allocations: 16.86 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.7783, allocations: 182.3 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.7784, allocations: 38.55 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.7784, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000314/0.7787, allocations: 61.62 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.7788, allocations: 59.34 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.7789, allocations: 106 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.7789, allocations: 25.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.779, allocations: 80.14 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.779, allocations: 15.81 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.7791, allocations: 9.719 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7792, allocations: 318.8 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.7793, allocations: 12 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.7794, allocations: 7.984 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.7795, allocations: 32.84 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7795, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001758/0.7797, allocations: 57.56 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7797, allocations: 7.938 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7798, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.7798, allocations: 8 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.7799, allocations: 7.984 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.7799, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.7799, allocations: 8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.7799, allocations: 0 / 1.027 GB, free: 11.38 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.19e-05/0.78, allocations: 109.8 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.7801, allocations: 3.938 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.7803, allocations: 69.17 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.7803, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7803, allocations: 3.938 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7803, allocations: 3.984 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.7806, allocations: 153.7 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7806, allocations: 0 / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.7807, allocations: 12 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.7807, allocations: 3.938 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.7807, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7807, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7807, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.7809, allocations: 85.02 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.7811, allocations: 85.05 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.7811, allocations: 7.922 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.7812, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.7812, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7812, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.7813, allocations: 95.62 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7813, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003317/0.7816, allocations: 28 kB / 1.028 GB, free: 10.61 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.0003337/0.782, allocations: 147.1 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.7822, allocations: 31.98 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7822, allocations: 3.938 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.7823, allocations: 12.22 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.7826, allocations: 12 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.783, allocations: 138.6 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.7834, allocations: 0.677 MB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.233e-05/0.7835, allocations: 11.98 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.7835, allocations: 7.438 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7835, allocations: 0 / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.004666/0.7882, allocations: 1.016 MB / 1.03 GB, free: 8.508 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