Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001126/0.001126, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.001246/0.001246, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.9785, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00236/0.981, allocations: 1.343 MB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.9819, allocations: 351.2 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.982, allocations: 0 / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.982, allocations: 7.922 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.9821, allocations: 23.97 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.9827, allocations: 102.6 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.9829, allocations: 75.84 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.983, allocations: 28.16 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.9831, allocations: 35.84 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.9832, allocations: 31.84 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.9832, allocations: 4 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.9834, allocations: 55.95 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.9834, allocations: 15.92 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.9835, allocations: 37.7 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.9837, allocations: 93.7 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9837, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9837, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.9837, allocations: 0 / 1.023 GB, free: 14.89 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.0006635/0.9844, allocations: 407 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.9844, allocations: 15.98 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.9847, allocations: 35.78 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.985, allocations: 187 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.9851, allocations: 37.66 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.9851, allocations: 8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.9855, allocations: 113.5 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9855, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.9855, allocations: 7.938 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.9855, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.9858, allocations: 91.92 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.9866, allocations: 384.4 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.9871, allocations: 138.6 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.9872, allocations: 4 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.9872, allocations: 34.56 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9872, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004559/0.9877, allocations: 153.6 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.9877, allocations: 55.41 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.9879, allocations: 143.9 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.9879, allocations: 25.7 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.988, allocations: 100.2 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.988, allocations: 23.7 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.9881, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9882, allocations: 322.8 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.9883, allocations: 31.98 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.9885, allocations: 53.69 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.9886, allocations: 31.98 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.9886, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002818/0.9889, allocations: 129.6 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9889, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.9889, allocations: 3.938 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.9889, allocations: 7.984 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.9891, allocations: 20.03 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.9891, allocations: 11.88 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.9892, allocations: 19.84 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.9892, allocations: 0 / 1.025 GB, free: 12.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.9893, allocations: 113.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.9893, allocations: 7.906 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.9894, allocations: 16.7 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9894, allocations: 3.984 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9894, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.9894, allocations: 3.953 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.9897, allocations: 201.6 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.9897, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.9898, allocations: 19.98 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9898, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.9898, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.9898, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9898, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.9901, allocations: 223.3 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.9902, allocations: 88.89 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.9902, allocations: 7.984 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.9904, allocations: 19.98 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.9904, allocations: 4 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.9905, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001127/0.9906, allocations: 104.7 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9906, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002425/0.9908, allocations: 20 kB / 1.026 GB, free: 11.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.991, allocations: 107.2 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.9913, allocations: 84.52 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9913, allocations: 0 / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.9914, allocations: 44.03 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.9918, allocations: 24.48 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.9923, allocations: 237.2 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.9926, allocations: 0.6965 MB / 1.027 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.669e-05/0.9927, allocations: 16.66 kB / 1.027 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.9928, allocations: 11.44 kB / 1.027 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.9928, allocations: 0 / 1.027 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.004267/0.997, allocations: 1.27 MB / 1.029 GB, free: 8.668 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches