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.00121/0.00121, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001169/0.001169, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 64.16 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3102, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002768/0.313, allocations: 1.268 MB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005214/0.3136, allocations: 233.7 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.3136, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.3136, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.3137, allocations: 4 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.314, allocations: 43.77 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.3141, allocations: 23.92 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.3141, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/0.3142, allocations: 11.98 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.3142, allocations: 7.984 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3143, allocations: 4 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3144, allocations: 39.95 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.3144, allocations: 11.94 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.3144, allocations: 8 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3146, allocations: 47.81 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3146, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3146, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3146, allocations: 0 / 1.028 GB, free: 364 kB / 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.0004235/0.315, allocations: 339.5 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3151, allocations: 8.031 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.3152, allocations: 16.86 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.655e-05/0.3153, allocations: 164.4 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.3153, allocations: 384 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.3154, allocations: 4.375 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3155, allocations: 42.25 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3155, allocations: 192 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3155, allocations: 7.938 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3155, allocations: 0 / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.3156, allocations: 15.98 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.3157, allocations: 153.7 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.3158, allocations: 50.56 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.3159, allocations: 20.98 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3159, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3159, allocations: 30.56 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3159, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.00203/0.318, allocations: 0.5019 MB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.318, allocations: 51.41 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.318, allocations: 89.86 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3181, allocations: 29.7 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.3181, allocations: 84.05 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.3182, allocations: 31.58 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.3182, allocations: 21.72 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3183, allocations: 318.8 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.3184, allocations: 23.98 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.3184, allocations: 23.98 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3185, allocations: 56.98 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3185, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001449/0.3187, allocations: 101.5 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3187, allocations: 10.44 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3187, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3187, allocations: 7.984 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3189, allocations: 15.98 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3189, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.319, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.319, allocations: 7.938 kB / 1.031 GB, free: 13.89 MB / 0.8106 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.466e-05/0.3191, allocations: 113.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.3191, allocations: 11.94 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.3191, allocations: 15.97 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3191, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3191, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3192, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3193, allocations: 175.4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3193, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3194, allocations: 15.98 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3194, allocations: 3.938 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3195, allocations: 4 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3195, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3195, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.3197, allocations: 141 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.3198, allocations: 88.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3198, allocations: 0 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3199, allocations: 8.422 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.3199, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.3199, allocations: 8.062 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.32, allocations: 75.28 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.753e-06/0.32, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001821/0.3201, allocations: 16.03 kB / 1.031 GB, free: 13.11 MB / 0.8106 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.0001227/0.3203, allocations: 111.2 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3204, allocations: 59.92 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3204, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.3205, allocations: 35.98 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.3207, allocations: 12.61 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.3212, allocations: 174.9 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3214, allocations: 0.6807 MB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.345e-05/0.3215, allocations: 11.94 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3215, allocations: 11.44 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3215, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.00266/0.3242, allocations: 0.6827 MB / 1.033 GB, free: 11.32 MB / 0.8106 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches