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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001103/0.001103, allocations: 173.1 kB / 498.1 MB, free: 5.75 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.707/1.707, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001108/0.001108, allocations: 94.77 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 10 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3285, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.5149, allocations: 149.5 MB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5152, allocations: 91.86 kB / 1.369 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005114/0.5203, allocations: 1.865 MB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.409e-06/0.5204, allocations: 0 / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5204, allocations: 3.938 kB / 1.371 GB, free: 10.62 MB / 0.8698 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.0003195/0.5207, allocations: 333.2 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5208, allocations: 12.03 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.5209, allocations: 11.98 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.521, allocations: 163 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.521, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.5211, allocations: 4 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5212, allocations: 45.62 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5212, allocations: 0 / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5212, allocations: 4 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5213, allocations: 3.984 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.5213, allocations: 19.98 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.5215, allocations: 165.5 kB / 1.372 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.5216, allocations: 42.62 kB / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.5216, allocations: 0 / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5217, allocations: 38.69 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5217, allocations: 0 / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.002027/0.5237, allocations: 498 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.5237, allocations: 51.41 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.036e-05/0.5238, allocations: 89 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.5238, allocations: 29.7 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.5239, allocations: 88.06 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.5239, allocations: 27.56 kB / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.5239, allocations: 0 / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5241, allocations: 322.8 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.5241, allocations: 19.98 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.5241, allocations: 23.98 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.5242, allocations: 28.12 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.5242, allocations: 4 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001371/0.5244, allocations: 89.62 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5244, allocations: 4.625 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.5244, allocations: 0 / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5244, allocations: 0 / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5246, allocations: 19.98 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5246, allocations: 4 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.5247, allocations: 0 / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.5247, allocations: 0 / 1.373 GB, free: 8.27 MB / 0.8698 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 () * Number of clocked 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 8.896e-05/0.5248, allocations: 129.5 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.5248, allocations: 0 / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.5248, allocations: 11.97 kB / 1.373 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5248, allocations: 4 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5249, allocations: 448 / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5249, allocations: 3.938 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.525, allocations: 187.2 kB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.525, allocations: 4 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.5252, allocations: 15.98 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5252, allocations: 4 kB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5252, allocations: 0 / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5252, allocations: 4 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5252, allocations: 0 / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.5255, allocations: 153 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.5255, allocations: 77.11 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.5256, allocations: 8.031 kB / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5257, allocations: 7.984 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.5257, allocations: 0 / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5257, allocations: 8.062 kB / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.5258, allocations: 75.28 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5258, allocations: 0 / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001946/0.526, allocations: 16 kB / 1.374 GB, free: 7.473 MB / 0.8698 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 () * Number of clocked 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.0001704/0.5261, allocations: 103.3 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.5263, allocations: 63.86 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5263, allocations: 0 / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.5264, allocations: 31.98 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.5266, allocations: 15.95 kB / 1.374 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.5271, allocations: 186.7 kB / 1.374 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.5274, allocations: 0.6887 MB / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.122e-05/0.5275, allocations: 12.19 kB / 1.375 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.5275, allocations: 11.44 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5275, allocations: 0 / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of Templates: time 0.002595/0.5301, allocations: 0.6264 MB / 1.375 GB, free: 5.711 MB / 0.8698 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