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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001051/0.001051, allocations: 182.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0009171/0.0009172, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.621e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2552, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9157/1.171, allocations: 131.8 MB / 1.021 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.171, allocations: 91.3 kB / 1.021 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005555/1.177, allocations: 1.836 MB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.485e-06/1.177, allocations: 4 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.405e-06/1.177, allocations: 0 / 1.022 GB, free: 1.254 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004395/1.178, allocations: 337.2 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.178, allocations: 8.031 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/1.178, allocations: 11.75 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.178, allocations: 167 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/1.178, allocations: 0 / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/1.178, allocations: 8 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.178, allocations: 43.81 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.178, allocations: 3.938 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.178, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.178, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/1.178, allocations: 15.67 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/1.178, allocations: 163.8 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/1.179, allocations: 44.14 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/1.179, allocations: 23.3 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/1.179, allocations: 4 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.179, allocations: 30.56 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/1.179, allocations: 0 / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.002078/1.181, allocations: 481.7 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.181, allocations: 55.39 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/1.181, allocations: 88.94 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.181, allocations: 28.45 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/1.181, allocations: 88.12 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/1.181, allocations: 26.75 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/1.181, allocations: 3.062 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.181, allocations: 326.7 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/1.181, allocations: 22.12 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/1.181, allocations: 19.25 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/1.181, allocations: 19.12 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.181, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001525/1.182, allocations: 91.06 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.182, allocations: 11.98 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.182, allocations: 96 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.182, allocations: 7.938 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.182, allocations: 12 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.182, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/1.182, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/1.182, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 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 8.081e-05/1.182, allocations: 112.3 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.182, allocations: 7.906 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/1.182, allocations: 18.58 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.182, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.182, allocations: 4 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.182, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/1.182, allocations: 189.1 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.182, allocations: 256 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/1.182, allocations: 16 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.182, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/1.182, allocations: 3.875 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.182, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.183, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/1.183, allocations: 156.5 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/1.183, allocations: 81.02 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/1.183, allocations: 4.031 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/1.183, allocations: 7.938 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/1.183, allocations: 7.859 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.183, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.659e-05/1.183, allocations: 75.28 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.183, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001887/1.183, allocations: 16.06 kB / 1.025 GB, free: 14.31 MB / 0.6511 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.0001694/1.183, allocations: 110.8 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001566/1.184, allocations: 61.42 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.184, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/1.184, allocations: 30 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.184, allocations: 4 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/1.184, allocations: 118.2 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/1.185, allocations: 0.6809 MB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.421e-05/1.185, allocations: 16.17 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/1.185, allocations: 11.62 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of SimCode: time 2.124e-06/1.185, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.002699/1.188, allocations: 0.6576 MB / 1.027 GB, free: 12.66 MB / 0.6511 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