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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001958/0.001958, allocations: 112.6 kB / 16.37 MB, free: 6 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.001713/0.001713, allocations: 196 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.7 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2883, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00234/0.2907, allocations: 1.258 MB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000467/0.2912, allocations: 223.3 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.2912, allocations: 7.938 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.2913, allocations: 0 / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.2913, allocations: 11.92 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.2916, allocations: 43.83 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.2917, allocations: 11.98 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.2917, allocations: 4 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.2918, allocations: 11.94 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.2918, allocations: 7.922 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2918, allocations: 4 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.292, allocations: 47.95 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.292, allocations: 7.984 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.292, allocations: 8 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.2921, allocations: 44.38 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2922, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2922, allocations: 4 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2922, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 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.0004201/0.2926, allocations: 335.4 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2926, allocations: 8.625 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.2928, allocations: 16.92 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2929, allocations: 160.4 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2929, allocations: 384 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.293, allocations: 4.375 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2931, allocations: 46.25 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2931, allocations: 4.172 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2931, allocations: 3.938 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2931, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.2932, allocations: 19.92 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.2933, allocations: 165.6 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.2934, allocations: 42.62 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.2935, allocations: 20.98 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2935, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2935, allocations: 30.56 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.2935, allocations: 0 / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001975/0.2955, allocations: 0.5057 MB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2955, allocations: 51.41 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.515e-05/0.2956, allocations: 89.86 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.2956, allocations: 33.7 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.2956, allocations: 84.14 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.2957, allocations: 27.53 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.2957, allocations: 25.72 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2958, allocations: 310.8 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.2959, allocations: 23.98 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.2959, allocations: 23.98 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/0.296, allocations: 60.8 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.296, allocations: 4 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001382/0.2962, allocations: 85.69 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2962, allocations: 11.94 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2962, allocations: 288 / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2962, allocations: 0 / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2964, allocations: 19.92 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2964, allocations: 3.938 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.2965, allocations: 4 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2965, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 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 7.109e-05/0.2965, allocations: 116.2 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.2966, allocations: 11.84 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.2966, allocations: 11.97 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2966, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2966, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.2966, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2968, allocations: 179.5 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2968, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2969, allocations: 15.98 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.2969, allocations: 7.875 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.297, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.297, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.297, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2972, allocations: 145.1 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.2973, allocations: 88.89 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2973, allocations: 448 / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2974, allocations: 12.02 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.2974, allocations: 4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2974, allocations: 8.062 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.2975, allocations: 75.28 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2975, allocations: 0 / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001911/0.2977, allocations: 12 kB / 1.023 GB, free: 4.875 MB / 0.795 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.0001204/0.2978, allocations: 111.2 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.298, allocations: 55.98 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.298, allocations: 0 / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.298, allocations: 35.92 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.2982, allocations: 8 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.2988, allocations: 170.9 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.299, allocations: 0.6768 MB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.723e-05/0.2991, allocations: 11.94 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.2991, allocations: 15.44 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2991, allocations: 0 / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of Templates: time 0.002856/0.302, allocations: 0.6967 MB / 1.025 GB, free: 3.086 MB / 0.795 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=480 -s gbode -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/jenkins1/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