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.298/2.298, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.00104/0.00104, allocations: 172.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.0008244/0.0008243, allocations: 91.94 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.844e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9026/1.141, allocations: 151.2 MB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.142, allocations: 75.45 kB / 1.366 GB, free: 2.781 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007215/1.149, allocations: 2.488 MB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/1.149, allocations: 4 kB / 1.369 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.149, allocations: 0 / 1.369 GB, free: 0.6406 MB / 0.823 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.00032/1.149, allocations: 357.4 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.149, allocations: 12.03 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/1.149, allocations: 11.73 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.15, allocations: 167 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.15, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.15, allocations: 3 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/1.15, allocations: 56.42 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.15, allocations: 0 / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/1.15, allocations: 0 / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.15, allocations: 3.938 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/1.15, allocations: 22.31 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/1.15, allocations: 172.1 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/1.15, allocations: 55.47 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.313e-05/1.15, allocations: 31.77 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/1.15, allocations: 0 / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/1.15, allocations: 34.56 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/1.15, allocations: 7.875 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001453/1.15, allocations: 60.62 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.15, allocations: 51.41 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/1.151, allocations: 85 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/1.151, allocations: 36.45 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/1.151, allocations: 80.14 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/1.151, allocations: 27.31 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.151, allocations: 0 / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/1.151, allocations: 318.8 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/1.151, allocations: 7.25 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/1.151, allocations: 11.62 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/1.151, allocations: 15.86 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.151, allocations: 0 / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.945e-05/1.151, allocations: 71.94 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.151, allocations: 4 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.151, allocations: 4.062 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.151, allocations: 0 / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.151, allocations: 15.98 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.151, allocations: 0 / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/1.151, allocations: 3.938 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/1.151, allocations: 7.125 kB / 1.371 GB, free: 14.82 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.726e-05/1.151, allocations: 104.9 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/1.151, allocations: 4 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/1.151, allocations: 98.2 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.151, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.151, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.151, allocations: 4 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/1.152, allocations: 164.5 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.152, allocations: 4 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/1.152, allocations: 19.98 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.152, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.152, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.152, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.152, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/1.152, allocations: 98.48 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/1.152, allocations: 92.95 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.152, allocations: 0 / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.603e-05/1.152, allocations: 7.125 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/1.152, allocations: 7.984 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/1.152, allocations: 0 / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.93e-05/1.152, allocations: 79.28 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001631/1.152, allocations: 15.38 kB / 1.371 GB, free: 14.07 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.802e-05/1.152, allocations: 95.25 kB / 1.371 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.869e-05/1.152, allocations: 41.95 kB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.152, allocations: 4 kB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/1.153, allocations: 19.56 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/1.153, allocations: 9.641 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/1.153, allocations: 76.19 kB / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/1.153, allocations: 0.677 MB / 1.372 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.834e-05/1.153, allocations: 15.97 kB / 1.372 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/1.153, allocations: 11.44 kB / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.593e-06/1.153, allocations: 0 / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.002289/1.156, allocations: 0.5209 MB / 1.373 GB, free: 12.6 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