Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009189/0.0009188, allocations: 177.3 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000832/0.000832, allocations: 90.08 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.753e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5719, allocations: 132.2 MB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.5721, allocations: 77.98 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003668/0.5758, allocations: 1.164 MB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5758, allocations: 0 / 1.015 GB, free: 5.738 MB / 0.6355 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.0002284/0.576, allocations: 329.4 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5761, allocations: 12.03 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.5763, allocations: 19.97 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.328e-05/0.5764, allocations: 167.1 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.5764, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5764, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.658e-05/0.5765, allocations: 19.97 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.482e-05/0.5766, allocations: 44.8 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5766, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5766, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5766, allocations: 4 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.5767, allocations: 130.1 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.5785, allocations: 270.1 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.5786, allocations: 19.8 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5786, allocations: 3.938 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5786, allocations: 42.5 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.5786, allocations: 0 / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001184/0.5787, allocations: 52.25 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.5788, allocations: 51.41 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.5788, allocations: 89 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.5788, allocations: 25.7 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.5789, allocations: 80.14 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.5789, allocations: 18.61 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.5789, allocations: 128 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.579, allocations: 314.8 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.579, allocations: 11.69 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.579, allocations: 7.938 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.5791, allocations: 4 kB / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5791, allocations: 0 / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.48e-05/0.5792, allocations: 56 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.5792, allocations: 7.938 kB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.5792, allocations: 0 / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5792, allocations: 0 / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.5793, allocations: 15.89 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5793, allocations: 0 / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.5793, allocations: 4 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.5793, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 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 6.652e-05/0.5794, allocations: 101 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.5794, allocations: 7.906 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.5794, allocations: 7.406 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5794, allocations: 4 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5794, allocations: 0 / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5795, allocations: 4 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.905e-05/0.5795, allocations: 133 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5795, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.5796, allocations: 8 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5796, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.5796, allocations: 4.094 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5796, allocations: 0 / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5796, allocations: 3.938 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.808e-05/0.5797, allocations: 79.92 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.5798, allocations: 89 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.5798, allocations: 4 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.5798, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.5799, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5799, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.405e-05/0.5799, allocations: 83.22 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001656/0.5801, allocations: 4 kB / 1.017 GB, free: 3.238 MB / 0.6355 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.0001066/0.5802, allocations: 103.3 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.194e-05/0.5803, allocations: 27.5 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5803, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.5803, allocations: 11.12 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.5805, allocations: 7.984 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.5807, allocations: 75.19 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.5809, allocations: 0.6984 MB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.5809, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of Templates: time 0.00203/0.583, allocations: 0.5828 MB / 1.019 GB, free: 1.707 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches