Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.996/1.996, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001013/0.001013, allocations: 181.2 kB / 490.8 MB, free: 1.922 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.262/1.262, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0009399/0.00094, allocations: 91.05 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.027e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7892/1.073, allocations: 149.5 MB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.073, allocations: 83.2 kB / 1.358 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005135/1.078, allocations: 1.545 MB / 1.359 GB, free: 17.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.917e-06/1.078, allocations: 0.9688 kB / 1.359 GB, free: 17.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003258/1.079, allocations: 329.9 kB / 1.359 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.079, allocations: 9.844 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/1.079, allocations: 10.23 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/1.079, allocations: 163.7 kB / 1.36 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/1.079, allocations: 5.344 kB / 1.36 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/1.079, allocations: 3.188 kB / 1.36 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.775e-05/1.079, allocations: 11.88 kB / 1.36 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/1.079, allocations: 43.78 kB / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.079, allocations: 4.094 kB / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.079, allocations: 0 / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.079, allocations: 0.6094 kB / 1.36 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/1.08, allocations: 138 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/1.08, allocations: 41.44 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/1.08, allocations: 17.03 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/1.08, allocations: 1.219 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/1.08, allocations: 35.47 kB / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/1.08, allocations: 0 / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.002005/1.082, allocations: 472.3 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/1.082, allocations: 52.81 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.505e-05/1.082, allocations: 89.7 kB / 1.361 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/1.082, allocations: 26.89 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/1.082, allocations: 84.08 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/1.082, allocations: 30.38 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/1.082, allocations: 0 / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.082, allocations: 312.9 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/1.082, allocations: 21.12 kB / 1.361 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/1.082, allocations: 24 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/1.082, allocations: 21.3 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.082, allocations: 5.188 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000137/1.082, allocations: 89.36 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.082, allocations: 5.938 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/1.082, allocations: 3.938 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.082, allocations: 5.109 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.083, allocations: 13.83 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.083, allocations: 0 / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/1.083, allocations: 1.875 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/1.083, allocations: 2.031 kB / 1.361 GB, free: 31.64 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 (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.244e-05/1.083, allocations: 110.7 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/1.083, allocations: 2.219 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/1.083, allocations: 11.78 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.083, allocations: 1.031 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.083, allocations: 1.672 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.083, allocations: 3.906 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.706e-05/1.083, allocations: 151.8 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.083, allocations: 0.875 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/1.083, allocations: 18.55 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/1.083, allocations: 1 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.083, allocations: 0.7031 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.083, allocations: 5.062 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.083, allocations: 0 / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002293/1.083, allocations: 143.6 kB / 1.362 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/1.083, allocations: 81.72 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/1.083, allocations: 5.375 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.084, allocations: 5.188 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/1.084, allocations: 2.906 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.084, allocations: 10.77 kB / 1.362 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.072e-05/1.084, allocations: 75.28 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001871/1.084, allocations: 11.5 kB / 1.362 GB, free: 31.1 MB / 0.8386 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.0001481/1.084, allocations: 109.9 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000129/1.084, allocations: 52.19 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.084, allocations: 1 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/1.084, allocations: 33 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/1.084, allocations: 11.55 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/1.085, allocations: 127.1 kB / 1.362 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/1.085, allocations: 0.6981 MB / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.085, allocations: 0 / 1.363 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.003222/1.088, allocations: 0.9425 MB / 1.364 GB, free: 30.16 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches