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.001507/0.001507, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.001762/0.001762, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.473/1.473, allocations: 222.9 MB / 240.6 MB, free: 4.41 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.602/2.602, allocations: 437 MB / 0.7107 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.8694 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6048, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00288/0.6077, allocations: 1.733 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006975/0.6084, allocations: 394.8 kB / 1.02 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.6085, allocations: 4 kB / 1.02 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.6086, allocations: 3.938 kB / 1.02 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.6087, allocations: 15.84 kB / 1.02 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.6091, allocations: 111.7 kB / 1.02 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.6093, allocations: 107.6 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.6094, allocations: 39.91 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.6095, allocations: 35.91 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.6096, allocations: 43.78 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.6096, allocations: 8 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.6097, allocations: 63.89 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.6097, allocations: 23.91 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.6098, allocations: 47.8 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.6099, allocations: 93.78 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.61, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.363e-06/0.61, allocations: 0 / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.61, allocations: 0 / 1.02 GB, free: 32 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005891/0.6106, allocations: 427 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6106, allocations: 8.031 kB / 1.021 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.6109, allocations: 28.81 kB / 1.021 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.6111, allocations: 197.2 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.6111, allocations: 34.27 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.6112, allocations: 4.375 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.6114, allocations: 111.5 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.6114, allocations: 11.86 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.6115, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6115, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.6117, allocations: 75.94 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.6124, allocations: 388.4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.6129, allocations: 130.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.613, allocations: 36.84 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.613, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.6131, allocations: 38.5 kB / 1.022 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.6131, allocations: 0 / 1.022 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.6135, allocations: 137.7 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.6135, allocations: 51.41 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6137, allocations: 143.8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.6137, allocations: 25.7 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.6137, allocations: 104 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.6138, allocations: 23.66 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.6138, allocations: 21.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6139, allocations: 318.8 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.614, allocations: 31.97 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.6141, allocations: 45.69 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.6144, allocations: 81.77 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6144, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002485/0.6146, allocations: 121.5 kB / 1.023 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6146, allocations: 4 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6147, allocations: 0 / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.6147, allocations: 0 / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6148, allocations: 23.92 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6148, allocations: 0 / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.6149, allocations: 7.906 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.6149, allocations: 4 kB / 1.023 GB, free: 13.2 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 8.96e-05/0.615, allocations: 118.4 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.615, allocations: 11.91 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.6151, allocations: 12.72 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6151, allocations: 11.88 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6151, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6151, allocations: 3.938 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.6153, allocations: 193.6 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6153, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.6154, allocations: 15.98 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6154, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6155, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6155, allocations: 7.938 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6155, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.6158, allocations: 200 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.6158, allocations: 92.94 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.6158, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.616, allocations: 19.92 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.6161, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.6161, allocations: 7.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.6161, allocations: 108.9 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6162, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002356/0.6164, allocations: 16 kB / 1.023 GB, free: 12.29 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.0001084/0.6165, allocations: 99.25 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.6168, allocations: 87.94 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6168, allocations: 0 / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.6169, allocations: 35.98 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.6173, allocations: 27.91 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.6178, allocations: 268.8 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.618, allocations: 0.6924 MB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.6181, allocations: 15.44 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6181, allocations: 0 / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002617/0.6207, allocations: 1.306 MB / 1.026 GB, free: 9.707 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches