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.001977/0.001977, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.002106/0.002106, allocations: 191 kB / 17.29 MB, free: 5.516 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 70.7 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00294/0.2842, allocations: 1.672 MB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007349/0.2849, allocations: 398.7 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.285, allocations: 4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.2851, allocations: 11.86 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.2852, allocations: 19.8 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.2857, allocations: 127.6 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.2858, allocations: 111.5 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.286, allocations: 39.84 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.2861, allocations: 35.92 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.2861, allocations: 43.78 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2862, allocations: 8 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2863, allocations: 63.94 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.2863, allocations: 23.91 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.2864, allocations: 43.8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2866, allocations: 135.5 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2866, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2866, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2866, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 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.0005438/0.2872, allocations: 419.1 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2872, allocations: 11.97 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.2874, allocations: 28.81 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.2877, allocations: 204 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.2878, allocations: 30.27 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2878, allocations: 12.38 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2881, allocations: 104.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.2881, allocations: 7.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2881, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2881, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.2883, allocations: 79.94 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.2891, allocations: 388.4 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.2896, allocations: 134.6 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2897, allocations: 44.83 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2898, allocations: 3.984 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2898, allocations: 30.56 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2898, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004067/0.2902, allocations: 129.7 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.2903, allocations: 51.41 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2904, allocations: 149.7 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2904, allocations: 29.7 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2905, allocations: 92.3 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.2905, allocations: 31.62 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.2905, allocations: 17.72 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2907, allocations: 326.8 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.2908, allocations: 27.98 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.2909, allocations: 45.69 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.2911, allocations: 81.61 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2911, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002576/0.2913, allocations: 113.5 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2914, allocations: 6.5 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2914, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2914, allocations: 4 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2915, allocations: 23.92 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2915, allocations: 3.938 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.2916, allocations: 23.83 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2916, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 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.657e-05/0.2917, allocations: 125.7 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.2918, allocations: 7.906 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.2918, allocations: 16.72 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2918, allocations: 3.938 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2918, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2918, allocations: 3.984 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.292, allocations: 197.6 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.292, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2921, allocations: 15.98 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2922, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2922, allocations: 4 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.2922, allocations: 3.938 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2922, allocations: 0 / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.2925, allocations: 203.3 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.2925, allocations: 89.02 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2925, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.2927, allocations: 19.92 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2928, allocations: 7.984 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2928, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.723e-05/0.2928, allocations: 103.3 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2929, allocations: 0 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002458/0.2931, allocations: 20 kB / 1.033 GB, free: 11.56 MB / 0.8106 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.0001002/0.2932, allocations: 103.2 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.2935, allocations: 80.5 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2935, allocations: 0 / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2936, allocations: 39.97 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.2939, allocations: 28.16 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.2944, allocations: 219 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2947, allocations: 0.6962 MB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.082e-05/0.2948, allocations: 16.66 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.2948, allocations: 11.44 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2949, allocations: 3.938 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.003817/0.2987, allocations: 1.442 MB / 1.035 GB, free: 8.887 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches