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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.894/1.894, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.000993/0.0009931, allocations: 176.1 kB / 490.8 MB, free: 1.938 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.397/1.397, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0008762/0.0008762, allocations: 92.09 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2639, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6483/0.9122, allocations: 150.4 MB / 1.358 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.9125, allocations: 78.64 kB / 1.359 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0072/0.9197, allocations: 2.158 MB / 1.361 GB, free: 17.35 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.9197, allocations: 1.312 kB / 1.361 GB, free: 17.35 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.0003233/0.9201, allocations: 358.8 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.9201, allocations: 9.469 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.9203, allocations: 16.7 kB / 1.361 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.781e-05/0.9204, allocations: 161.9 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9205, allocations: 5.344 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.9205, allocations: 1.344 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.979e-05/0.9206, allocations: 23.5 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.9207, allocations: 43.05 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9207, allocations: 0 / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.9207, allocations: 1.438 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.9207, allocations: 0 / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.9208, allocations: 142.3 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.9209, allocations: 63.34 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.921, allocations: 19.3 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.921, allocations: 7.734 kB / 1.361 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.9211, allocations: 35.28 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.9211, allocations: 0 / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001631/0.9212, allocations: 61.08 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.9213, allocations: 53.41 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.9213, allocations: 89.8 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.9213, allocations: 25.7 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.9214, allocations: 85.23 kB / 1.362 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.9214, allocations: 19.59 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.9214, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.9215, allocations: 317.4 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.9215, allocations: 9.312 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.9216, allocations: 13.91 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.9216, allocations: 11.75 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9216, allocations: 5.438 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.883e-05/0.9217, allocations: 56.73 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.9217, allocations: 4.75 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9217, allocations: 0.75 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9218, allocations: 1.281 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.9219, allocations: 22.25 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9219, allocations: 0 / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.922, allocations: 4.938 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.922, allocations: 2.891 kB / 1.362 GB, free: 31.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 6.148e-05/0.922, allocations: 110.8 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.9221, allocations: 1.156 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.9223, allocations: 85.5 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9223, allocations: 5.812 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.9223, allocations: 0 / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9223, allocations: 1.766 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.754e-05/0.9224, allocations: 141.4 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9224, allocations: 0 / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.9225, allocations: 15.7 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9225, allocations: 0.7969 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.9225, allocations: 0.9688 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9225, allocations: 5.734 kB / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9225, allocations: 0 / 1.363 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/0.9227, allocations: 97.75 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.9227, allocations: 85.83 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.9227, allocations: 1.359 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.9228, allocations: 1.578 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.9228, allocations: 3.031 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.9228, allocations: 6.25 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.013e-05/0.9229, allocations: 79.94 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001827/0.9231, allocations: 11.84 kB / 1.363 GB, free: 31.25 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 0.0001148/0.9232, allocations: 102.6 kB / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.9233, allocations: 34.41 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9233, allocations: 0 / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.894e-05/0.9233, allocations: 22.48 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.9235, allocations: 5.656 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.9237, allocations: 82.08 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.924, allocations: 0.6929 MB / 1.364 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.9241, allocations: 9.312 kB / 1.364 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.00245/0.9265, allocations: 0.6012 MB / 1.364 GB, free: 30.31 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