Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [: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.949/1.949, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001115/0.001115, allocations: 192.8 kB / 487 MB, free: 5.363 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.371/1.371, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.001007/0.001007, allocations: 97.88 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.621/0.8503, allocations: 148.7 MB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.8506, allocations: 82.89 kB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004524/0.8551, allocations: 1.545 MB / 1.352 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8551, allocations: 0 / 1.352 GB, free: 15.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002268/0.8553, allocations: 334.6 kB / 1.352 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.8554, allocations: 9.938 kB / 1.352 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.8555, allocations: 9.609 kB / 1.352 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.809e-05/0.8556, allocations: 164.5 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8556, allocations: 1.094 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.8557, allocations: 1.969 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.729e-05/0.8557, allocations: 12.67 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.8558, allocations: 44.47 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8558, allocations: 0 / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.8559, allocations: 1.266 kB / 1.353 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8559, allocations: 5.375 kB / 1.353 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.856, allocations: 136.2 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.8561, allocations: 36.58 kB / 1.353 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.8561, allocations: 22.25 kB / 1.353 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.8561, allocations: 1 kB / 1.353 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.8561, allocations: 34.78 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.8561, allocations: 4.938 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.001904/0.858, allocations: 475.3 kB / 1.353 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.8581, allocations: 52.78 kB / 1.353 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.792e-05/0.8581, allocations: 87.08 kB / 1.353 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.8581, allocations: 25.7 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.137e-05/0.8581, allocations: 80.14 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.8582, allocations: 26 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.8582, allocations: 0 / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.8582, allocations: 321.1 kB / 1.354 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.8583, allocations: 26.31 kB / 1.354 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.8583, allocations: 23.31 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.722e-05/0.8584, allocations: 21.39 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.8584, allocations: 0 / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001257/0.8585, allocations: 87.91 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8585, allocations: 6.703 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8585, allocations: 0 / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.8585, allocations: 1.312 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.8587, allocations: 13.09 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8587, allocations: 5.25 kB / 1.354 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.8588, allocations: 0 / 1.354 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.8588, allocations: 8.75 kB / 1.354 GB, free: 14.03 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 (9): * Single equations (assignments): 9 * 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.595e-05/0.8588, allocations: 102.2 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.8589, allocations: 1.312 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.8589, allocations: 16.16 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8589, allocations: 0 / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8589, allocations: 6.875 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8589, allocations: 0 / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.6e-05/0.859, allocations: 157 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.859, allocations: 256 / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.8592, allocations: 17.94 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8592, allocations: 4 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.8592, allocations: 2.25 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8592, allocations: 0.7188 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8592, allocations: 0.8125 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001962/0.8594, allocations: 131.5 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.8594, allocations: 85.64 kB / 1.355 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.8595, allocations: 10.38 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.8596, allocations: 3.031 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.8596, allocations: 3.719 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.8596, allocations: 3.531 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.208e-05/0.8596, allocations: 75.28 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001834/0.8598, allocations: 10.41 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000119/0.8599, allocations: 112.3 kB / 1.355 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.8601, allocations: 57.08 kB / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8601, allocations: 0 / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.8601, allocations: 31.16 kB / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.8603, allocations: 7.344 kB / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.8608, allocations: 125.8 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.8609, allocations: 0.6982 MB / 1.356 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.861, allocations: 0 / 1.356 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.003255/0.8642, allocations: 0.9455 MB / 1.357 GB, free: 12.57 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches