Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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 9.1.1-maint.9.1.x/package.mo): time 1.939/1.939, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001024/0.001024, allocations: 184.2 kB / 487 MB, free: 5.391 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.273/1.273, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009187, allocations: 92.09 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.055e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2929, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.732/1.025, allocations: 148.8 MB / 1.35 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.025, allocations: 78.2 kB / 1.351 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003983/1.029, allocations: 1.199 MB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.555e-06/1.029, allocations: 0.9375 kB / 1.352 GB, free: 15.82 MB / 0.8073 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.0002512/1.03, allocations: 335.2 kB / 1.352 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.03, allocations: 10.59 kB / 1.352 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/1.03, allocations: 18.67 kB / 1.352 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/1.03, allocations: 166 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.03, allocations: 0 / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.03, allocations: 1.531 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.52e-05/1.03, allocations: 12.59 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/1.03, allocations: 45.58 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.03, allocations: 1.375 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.03, allocations: 0 / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.03, allocations: 0 / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/1.03, allocations: 136.7 kB / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.032, allocations: 274.5 kB / 1.353 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/1.032, allocations: 21.25 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/1.032, allocations: 1.094 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/1.032, allocations: 38.69 kB / 1.353 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/1.032, allocations: 0 / 1.353 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001381/1.032, allocations: 45.52 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/1.033, allocations: 52.77 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/1.033, allocations: 90.88 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/1.033, allocations: 29.83 kB / 1.353 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.422e-05/1.033, allocations: 83.45 kB / 1.353 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/1.033, allocations: 15.23 kB / 1.353 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/1.033, allocations: 0 / 1.353 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/1.033, allocations: 312.7 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/1.033, allocations: 8.5 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/1.033, allocations: 7.844 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/1.033, allocations: 9.422 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.033, allocations: 0 / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.975e-05/1.033, allocations: 55.16 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.033, allocations: 5.656 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/1.033, allocations: 1.031 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.033, allocations: 0 / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/1.033, allocations: 8.875 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/1.033, allocations: 1.359 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/1.033, allocations: 1.125 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/1.033, allocations: 1.344 kB / 1.353 GB, free: 14.32 MB / 0.8073 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 4.842e-05/1.033, allocations: 113.5 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/1.033, allocations: 7.172 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/1.033, allocations: 10.89 kB / 1.354 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.033, allocations: 0.7188 kB / 1.354 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.033, allocations: 4.656 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.033, allocations: 0.7188 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.899e-05/1.033, allocations: 140.3 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/1.033, allocations: 0 / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/1.033, allocations: 6.812 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.033, allocations: 0.9062 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/1.033, allocations: 0 / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/1.033, allocations: 1.469 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.033, allocations: 9.438 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.11e-05/1.033, allocations: 75.17 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/1.033, allocations: 80.31 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.033, allocations: 1.453 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/1.034, allocations: 5.719 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/1.034, allocations: 5.031 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.034, allocations: 5.844 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.453e-05/1.034, allocations: 79.28 kB / 1.354 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001718/1.034, allocations: 5.844 kB / 1.354 GB, free: 13.77 MB / 0.8073 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 (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 Backend phase and start with SimCode phase: time 0.0001161/1.034, allocations: 99.53 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.683e-05/1.034, allocations: 19.91 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.034, allocations: 0 / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/1.034, allocations: 12.89 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/1.034, allocations: 10.08 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/1.035, allocations: 75.17 kB / 1.354 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.035, allocations: 0.687 MB / 1.355 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/1.035, allocations: 1.188 kB / 1.355 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.00274/1.037, allocations: 0.5759 MB / 1.355 GB, free: 12.86 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches