Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [: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.905/1.905, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001146/0.001146, allocations: 176.6 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.419/1.419, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0009531/0.0009532, allocations: 87.39 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.566e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6451/0.8818, allocations: 150.7 MB / 1.359 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.8821, allocations: 81.72 kB / 1.359 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01808/0.9001, allocations: 5.882 MB / 1.365 GB, free: 17.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.9002, allocations: 0 / 1.365 GB, free: 17.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003436/0.9005, allocations: 363.6 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9006, allocations: 8.406 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.9008, allocations: 8.781 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.9008, allocations: 166.3 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.9009, allocations: 1 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.9009, allocations: 1.781 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.225e-05/0.901, allocations: 14.36 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.015e-05/0.901, allocations: 42.94 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9011, allocations: 5.344 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.9011, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9011, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.9012, allocations: 138 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.9021, allocations: 128.8 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.9021, allocations: 21.58 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.184e-05/0.9022, allocations: 83.17 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.9022, allocations: 36.52 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9022, allocations: 1.031 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.9024, allocations: 54.33 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.547e-05/0.9024, allocations: 51.41 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.9025, allocations: 91.2 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.9025, allocations: 26.77 kB / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.17e-05/0.9025, allocations: 80.14 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.9025, allocations: 15.38 kB / 1.366 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.9026, allocations: 0 / 1.366 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.9026, allocations: 311.8 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.9027, allocations: 9.375 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.9027, allocations: 4.25 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.9027, allocations: 17.11 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9027, allocations: 3.938 kB / 1.366 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.624e-05/0.9028, allocations: 60.56 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.9029, allocations: 7.688 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.9029, allocations: 0 / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9029, allocations: 0 / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.9029, allocations: 12.27 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.903, allocations: 1.125 kB / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.903, allocations: 0 / 1.366 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.903, allocations: 2.5 kB / 1.366 GB, free: 31.45 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 (4): * Single equations (assignments): 4 * 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.312e-05/0.9031, allocations: 113.9 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.9031, allocations: 2.188 kB / 1.366 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.9033, allocations: 77.91 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9033, allocations: 2.875 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9033, allocations: 0 / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9034, allocations: 0.9688 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.402e-05/0.9034, allocations: 144.3 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9034, allocations: 1.062 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.9035, allocations: 11.06 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9035, allocations: 4.062 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.9035, allocations: 6.75 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.9035, allocations: 0 / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9035, allocations: 1.281 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/0.9036, allocations: 86.34 kB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.9037, allocations: 79.95 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.9037, allocations: 0.875 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.9038, allocations: 6.562 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.9038, allocations: 6.031 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.9038, allocations: 5.734 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.992e-05/0.9038, allocations: 76.66 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002585/0.9041, allocations: 50.36 kB / 1.367 GB, free: 30.86 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 (5): * Single equations (assignments): 5 * 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.0004055/0.9045, allocations: 183.4 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.9046, allocations: 22.59 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9046, allocations: 0 / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.9046, allocations: 19.14 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.9048, allocations: 5.844 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.905, allocations: 73.34 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.9052, allocations: 0.6911 MB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9052, allocations: 3.938 kB / 1.368 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of Templates: time 0.00314/0.9084, allocations: 1.074 MB / 1.369 GB, free: 29.87 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches