Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002156/0.002156, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.897/2.897, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5879, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003171/0.5911, allocations: 1.721 MB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008837/0.592, allocations: 402.8 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.5921, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.5923, allocations: 11.86 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.5924, allocations: 19.84 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.5929, allocations: 115.6 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.593, allocations: 103.6 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.5932, allocations: 39.95 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.5933, allocations: 43.91 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.5933, allocations: 39.78 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.5934, allocations: 8 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.5935, allocations: 59.95 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.5935, allocations: 23.91 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.5936, allocations: 51.78 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.5939, allocations: 125.6 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5939, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5939, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5939, allocations: 0 / 1.019 GB, free: 15.91 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006648/0.5946, allocations: 424.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5946, allocations: 8.031 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.5949, allocations: 28.81 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.5951, allocations: 192.1 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.5952, allocations: 42.25 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5952, allocations: 4.375 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.5955, allocations: 106.1 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5955, allocations: 3.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.5956, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5956, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.5958, allocations: 81.44 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.5966, allocations: 380.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.5971, allocations: 130.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.5973, allocations: 44.84 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.5973, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.5973, allocations: 30.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5973, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004342/0.5978, allocations: 137.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.5978, allocations: 59.41 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.598, allocations: 143.3 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.598, allocations: 29.64 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.5981, allocations: 108 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.5981, allocations: 19.66 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.5982, allocations: 21.7 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5983, allocations: 314.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.5984, allocations: 35.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5985, allocations: 45.69 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.5988, allocations: 77.62 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5988, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002711/0.5991, allocations: 118 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.5991, allocations: 8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5991, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5991, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.5993, allocations: 31.86 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5993, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.5994, allocations: 7.906 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.5994, allocations: 4.078 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001086/0.5995, allocations: 125.9 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.5995, allocations: 7.906 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.5996, allocations: 8.719 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5996, allocations: 3.938 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5996, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5996, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.5998, allocations: 197.6 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5998, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.6, allocations: 15.98 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.6, allocations: 7.922 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6, allocations: 3.938 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.6003, allocations: 199.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.6004, allocations: 96.92 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.6004, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.6006, allocations: 19.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.6006, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6007, allocations: 11.92 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.6008, allocations: 105 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6008, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002513/0.601, allocations: 20 kB / 1.023 GB, free: 12.16 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 (7): * Single equations (assignments): 7 * 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.0001185/0.6011, allocations: 95.78 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.6014, allocations: 83.88 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6015, allocations: 3.938 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.6016, allocations: 39.92 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.602, allocations: 15.98 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.6025, allocations: 239.1 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.6029, allocations: 0.7002 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.631e-05/0.603, allocations: 8.672 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.603, allocations: 11.44 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.603, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.004305/0.6073, allocations: 1.385 MB / 1.025 GB, free: 9.547 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches