Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 390.5 MB / 398 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 175.8 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.5 MB / 0.7868 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009292, allocations: 102.1 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.786e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3329, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9255/1.258, allocations: 150.5 MB / 1.359 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/1.259, allocations: 81.28 kB / 1.359 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006916/1.266, allocations: 2.476 MB / 1.362 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.266, allocations: 2.906 kB / 1.362 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.266, allocations: 0 / 1.362 GB, free: 33.16 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002915/1.266, allocations: 358.4 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.266, allocations: 11.69 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/1.266, allocations: 17.94 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/1.266, allocations: 167 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.266, allocations: 0 / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/1.266, allocations: 3.844 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.833e-05/1.266, allocations: 21.02 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.624e-05/1.266, allocations: 44.95 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/1.267, allocations: 0 / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.267, allocations: 0 / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/1.267, allocations: 7.75 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/1.267, allocations: 144.6 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/1.267, allocations: 55.62 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/1.267, allocations: 23.7 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.267, allocations: 0 / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/1.267, allocations: 33.81 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/1.267, allocations: 0 / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001389/1.267, allocations: 55.39 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/1.267, allocations: 62.2 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/1.267, allocations: 88.81 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/1.267, allocations: 29.52 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/1.267, allocations: 80.14 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/1.267, allocations: 19.56 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/1.267, allocations: 0 / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/1.267, allocations: 318 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/1.267, allocations: 7.625 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/1.267, allocations: 11.84 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/1.267, allocations: 14.58 kB / 1.363 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.267, allocations: 3.953 kB / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.741e-05/1.267, allocations: 58.19 kB / 1.363 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.267, allocations: 3.875 kB / 1.363 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.267, allocations: 1.312 kB / 1.363 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/1.267, allocations: 0 / 1.363 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.268, allocations: 15.08 kB / 1.363 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.268, allocations: 7.875 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/1.268, allocations: 3.844 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/1.268, allocations: 4 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.21e-05/1.268, allocations: 101 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/1.268, allocations: 11.06 kB / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/1.268, allocations: 85.97 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.268, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.268, allocations: 4 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.268, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.344e-05/1.268, allocations: 144.1 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.268, allocations: 0.875 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/1.268, allocations: 21.84 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.268, allocations: 7.938 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.268, allocations: 0 / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.268, allocations: 0 / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.268, allocations: 256 / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.008e-05/1.268, allocations: 93.58 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/1.268, allocations: 83.64 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/1.268, allocations: 7.953 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/1.268, allocations: 3.875 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/1.268, allocations: 7.188 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/1.268, allocations: 7.438 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.637e-05/1.268, allocations: 75.28 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.268, allocations: 0 / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001697/1.269, allocations: 7.906 kB / 1.364 GB, free: 31.04 MB / 0.8386 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 () * 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 9.779e-05/1.269, allocations: 106.4 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/1.269, allocations: 29.05 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.269, allocations: 0 / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/1.269, allocations: 23.16 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/1.269, allocations: 5.266 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/1.269, allocations: 76.02 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/1.269, allocations: 0.6852 MB / 1.365 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.988e-05/1.27, allocations: 5.859 kB / 1.365 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/1.27, allocations: 11.41 kB / 1.365 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.27, allocations: 0 / 1.365 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.002228/1.272, allocations: 0.5047 MB / 1.365 GB, free: 30.12 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches