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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009903, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6991/0.6995, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001326/0.7008, allocations: 0.9683 MB / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.7014, allocations: 203.5 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.7014, allocations: 0 / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.7014, allocations: 3.938 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.7015, allocations: 7.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.7017, allocations: 35.88 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.426e-05/0.7018, allocations: 8 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.7018, allocations: 3.984 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.7019, allocations: 4 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.702, allocations: 23.91 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.702, allocations: 4 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.7021, allocations: 39.97 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.7021, allocations: 7.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.7021, allocations: 25.7 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.7022, allocations: 27.86 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7023, allocations: 4 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7023, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.7023, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 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.0004064/0.7027, allocations: 329.4 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7027, allocations: 12.03 kB / 1.022 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.7029, allocations: 11.89 kB / 1.022 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.703, allocations: 174.9 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.703, allocations: 7.938 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.7031, allocations: 4 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.7032, allocations: 41.69 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7032, allocations: 0 / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.7032, allocations: 8 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7032, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.7033, allocations: 12 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.7035, allocations: 157.7 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.7036, allocations: 46.5 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.7036, allocations: 3.953 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.7036, allocations: 30.56 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.7036, allocations: 4 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002001/0.7057, allocations: 498.2 kB / 1.023 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.7057, allocations: 59.41 kB / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.7058, allocations: 89.86 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.7058, allocations: 25.7 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.7058, allocations: 80.14 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.7059, allocations: 31.55 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.7059, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.706, allocations: 310.8 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.7061, allocations: 23.98 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.7061, allocations: 27.94 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.7062, allocations: 24.19 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7062, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001474/0.7063, allocations: 101.5 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7063, allocations: 11.92 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7064, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7064, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.7065, allocations: 12 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.7065, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.7066, allocations: 4 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.7066, allocations: 4 kB / 1.024 GB, free: 13.36 MB / 0.7794 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.513e-05/0.7067, allocations: 115.9 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.7067, allocations: 15.83 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.7068, allocations: 15.97 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7068, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7068, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7068, allocations: 4 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.707, allocations: 179.4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.707, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.7071, allocations: 16 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7071, allocations: 7.953 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.7071, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7072, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7072, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.7074, allocations: 141.1 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.7074, allocations: 77.11 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.7075, allocations: 3.953 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.7076, allocations: 8.094 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.7076, allocations: 15.92 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.7076, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.7077, allocations: 75.28 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7077, allocations: 0 / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001899/0.7079, allocations: 12 kB / 1.025 GB, free: 12.59 MB / 0.7794 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.0001235/0.708, allocations: 103.2 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.7082, allocations: 56.06 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7082, allocations: 4.188 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.7082, allocations: 39.92 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.7084, allocations: 11.88 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.709, allocations: 197.1 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.7093, allocations: 0.6809 MB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.574e-05/0.7094, allocations: 12.19 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.7094, allocations: 11.44 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7094, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.003045/0.7125, allocations: 0.6357 MB / 1.027 GB, free: 10.81 MB / 0.7794 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