Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00196/0.001968, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00244/0.00244, allocations: 195.6 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.6449, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002739/0.6477, allocations: 1.315 MB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.6484, allocations: 239.2 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.6484, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.6484, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.6485, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.6488, allocations: 39.77 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.6489, allocations: 23.97 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.6489, allocations: 0 / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.649, allocations: 11.94 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.649, allocations: 7.984 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.6491, allocations: 4 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.6492, allocations: 43.95 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.6492, allocations: 3.984 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.6492, allocations: 15.94 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.6494, allocations: 27.97 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6494, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6494, allocations: 3.938 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.6494, allocations: 8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 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.000488/0.6499, allocations: 341.4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6499, allocations: 11.97 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.6501, allocations: 12.92 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.6503, allocations: 164.3 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6503, allocations: 4.359 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.6503, allocations: 8.375 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.6504, allocations: 46.25 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6505, allocations: 192 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6505, allocations: 3.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6505, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.6506, allocations: 15.98 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.6508, allocations: 161.7 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.6509, allocations: 42.52 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.636e-05/0.651, allocations: 28.97 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.651, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.651, allocations: 30.56 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.651, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.002314/0.6533, allocations: 0.4942 MB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.6534, allocations: 51.41 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.6535, allocations: 89.86 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.6535, allocations: 29.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.6536, allocations: 88.08 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.6536, allocations: 23.56 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.6537, allocations: 29.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6539, allocations: 314.8 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.6539, allocations: 27.98 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.654, allocations: 20 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.6541, allocations: 60.84 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.6541, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001556/0.6543, allocations: 85.62 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.6543, allocations: 11.94 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.6543, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6543, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6545, allocations: 16 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.6545, allocations: 3.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.6546, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.6546, allocations: 4 kB / 1.021 GB, free: 14.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6547, allocations: 109.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.6547, allocations: 11.84 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.6548, allocations: 11.97 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6548, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6548, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6548, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.655, allocations: 183.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.655, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.6552, allocations: 16.27 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.6552, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.6552, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6552, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6552, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6555, allocations: 149 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.6556, allocations: 81.05 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.6556, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6557, allocations: 8.453 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.6557, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.6557, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.6558, allocations: 75.28 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6558, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001987/0.656, allocations: 16 kB / 1.021 GB, free: 13.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.6562, allocations: 107.8 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.6564, allocations: 71.89 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6564, allocations: 0 / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.6564, allocations: 31.92 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.6567, allocations: 12 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.6573, allocations: 190.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.6577, allocations: 0.6899 MB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.065e-05/0.6578, allocations: 7.938 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.6579, allocations: 11.44 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6579, allocations: 0 / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.003468/0.6613, allocations: 0.6974 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches