Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.17/1.17, allocations: 249.4 MB / 256.7 MB, free: 15.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 178.5 kB / 316 MB, free: 7.242 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.224/1.224, allocations: 205.1 MB / 0.5667 GB, free: 23.61 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.0007912/0.0007912, allocations: 98.12 kB / 0.671 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.824e-06, allocations: 4 kB / 0.7807 GB, free: 428 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3774, allocations: 106.3 MB / 0.8846 GB, free: 76.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5102, allocations: 131.1 MB / 1.013 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5104, allocations: 83.94 kB / 1.013 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.00471/0.5151, allocations: 1.504 MB / 1.014 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5152, allocations: 4 kB / 1.014 GB, free: 7.5 MB / 0.6667 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.0002632/0.5154, allocations: 330.3 kB / 1.014 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5155, allocations: 12.03 kB / 1.014 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.5156, allocations: 15.92 kB / 1.015 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.5157, allocations: 159.1 kB / 1.015 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5157, allocations: 4 kB / 1.015 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5158, allocations: 7.891 kB / 1.015 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.116e-05/0.5158, allocations: 12 kB / 1.015 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.5159, allocations: 37.7 kB / 1.015 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5159, allocations: 3.984 kB / 1.015 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.5159, allocations: 0 / 1.015 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.516, allocations: 0 / 1.015 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.5161, allocations: 134.2 kB / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.5162, allocations: 46.5 kB / 1.015 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.5162, allocations: 24.89 kB / 1.015 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.5162, allocations: 0 / 1.015 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.5163, allocations: 37.03 kB / 1.015 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.5163, allocations: 0 / 1.015 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.001952/0.5182, allocations: 470.2 kB / 1.015 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.5183, allocations: 55.41 kB / 1.015 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.611e-05/0.5183, allocations: 85 kB / 1.016 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5183, allocations: 29.7 kB / 1.016 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.5184, allocations: 80.14 kB / 1.016 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.5184, allocations: 35.48 kB / 1.016 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.5184, allocations: 0 / 1.016 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5185, allocations: 310.8 kB / 1.016 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.5186, allocations: 20 kB / 1.016 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.5186, allocations: 24 kB / 1.016 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.5186, allocations: 19.98 kB / 1.016 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.5187, allocations: 0 / 1.016 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001286/0.5188, allocations: 93.66 kB / 1.016 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.5188, allocations: 4 kB / 1.016 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5188, allocations: 4 kB / 1.016 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5188, allocations: 0 / 1.016 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.519, allocations: 15.98 kB / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.519, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.5191, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.5191, allocations: 8 kB / 1.016 GB, free: 5.223 MB / 0.6667 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 7.12e-05/0.5191, allocations: 107.3 kB / 1.016 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.5192, allocations: 7.906 kB / 1.016 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.5192, allocations: 15.89 kB / 1.016 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5192, allocations: 3.938 kB / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5192, allocations: 0 / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5192, allocations: 0 / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.5194, allocations: 163.7 kB / 1.016 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5194, allocations: 0 / 1.016 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5195, allocations: 15.98 kB / 1.016 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5195, allocations: 4 kB / 1.016 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5195, allocations: 4 kB / 1.016 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5195, allocations: 0 / 1.016 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5195, allocations: 0 / 1.016 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000205/0.5197, allocations: 141 kB / 1.017 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.5198, allocations: 77.11 kB / 1.017 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.5198, allocations: 0 / 1.017 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5199, allocations: 12.05 kB / 1.017 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.5199, allocations: 7.906 kB / 1.017 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.52, allocations: 0 / 1.017 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.374e-05/0.52, allocations: 79.22 kB / 1.017 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000182/0.5202, allocations: 12 kB / 1.017 GB, free: 4.504 MB / 0.6667 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.0001167/0.5203, allocations: 111.2 kB / 1.017 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.5204, allocations: 59.94 kB / 1.017 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5204, allocations: 0 / 1.017 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.5205, allocations: 28 kB / 1.017 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.5206, allocations: 4 kB / 1.017 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.5211, allocations: 128.2 kB / 1.017 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.5214, allocations: 0.6958 MB / 1.018 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.5214, allocations: 0 / 1.018 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of Templates: time 0.002597/0.524, allocations: 0.9538 MB / 1.019 GB, free: 2.512 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches