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.0009592/0.0009592, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009526/0.0009527, allocations: 176.6 kB / 16.92 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 462.6 MB / 0.737 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003793, allocations: 12.75 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00179/0.294, allocations: 1.381 MB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.2947, allocations: 394.8 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.2948, allocations: 7.938 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.2948, allocations: 7.922 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.2949, allocations: 15.84 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.2953, allocations: 106.5 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2954, allocations: 111.6 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2956, allocations: 31.84 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.2956, allocations: 35.91 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.2957, allocations: 35.78 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2957, allocations: 3.938 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2959, allocations: 63.95 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.2959, allocations: 15.92 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.2959, allocations: 57.5 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.2961, allocations: 92.06 kB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2961, allocations: 3.938 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2961, allocations: 0 / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2961, allocations: 0 / 1.062 GB, free: 2.586 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.0005414/0.2967, allocations: 411.1 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2967, allocations: 15.97 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.2969, allocations: 28.81 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2972, allocations: 192.2 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.2972, allocations: 38.2 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2972, allocations: 8.375 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.2975, allocations: 119.5 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2976, allocations: 3.938 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.2976, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2976, allocations: 7.984 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.2979, allocations: 95.94 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.2986, allocations: 392.5 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.2991, allocations: 134.6 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.2992, allocations: 52.88 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.2993, allocations: 0 / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2993, allocations: 30.56 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2993, allocations: 0 / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004455/0.2997, allocations: 149.5 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2998, allocations: 59.39 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2999, allocations: 139.2 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2999, allocations: 29.7 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.3, allocations: 96.05 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3, allocations: 31.64 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.3001, allocations: 9.719 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3002, allocations: 326.8 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3003, allocations: 32.14 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3005, allocations: 57.75 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3007, allocations: 89.61 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3007, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002808/0.301, allocations: 125.5 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.301, allocations: 4 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.301, allocations: 0.5469 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.301, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3012, allocations: 23.92 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3012, allocations: 7.969 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.3013, allocations: 11.98 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3013, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 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 9.611e-05/0.3014, allocations: 121.7 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.3014, allocations: 7.906 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3015, allocations: 16.72 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3015, allocations: 3.938 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3015, allocations: 7.984 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3015, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3017, allocations: 201.4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3017, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3018, allocations: 23.92 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3018, allocations: 0 / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3019, allocations: 4 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3019, allocations: 3.938 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3019, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.3022, allocations: 219.4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3023, allocations: 81.02 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3023, allocations: 4 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3025, allocations: 19.92 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.3025, allocations: 7.984 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3025, allocations: 8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.3026, allocations: 101.3 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3026, allocations: 4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002391/0.3028, allocations: 16 kB / 1.065 GB, free: 14.75 MB / 0.8262 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.0001236/0.303, allocations: 103.2 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.3033, allocations: 83.95 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3033, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3034, allocations: 51.97 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3038, allocations: 23.98 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.3043, allocations: 266.7 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3046, allocations: 0.6926 MB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3046, allocations: 11.44 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3046, allocations: 3.938 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.002747/0.3074, allocations: 1.295 MB / 1.067 GB, free: 12.17 MB / 0.8262 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","/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