Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001311/0.001311, allocations: 193.7 kB / 16.14 MB, free: 6.691 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 68.12 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8116, allocations: 140.4 MB / 0.9489 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003682/0.8153, allocations: 1.312 MB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.8161, allocations: 244.7 kB / 0.9505 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.8162, allocations: 0 / 0.9505 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.8163, allocations: 1.312 kB / 0.9505 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.8163, allocations: 0 / 0.9505 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.8167, allocations: 37.64 kB / 0.9505 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.8167, allocations: 13.31 kB / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.8168, allocations: 5.047 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.8168, allocations: 9.297 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.8169, allocations: 14.83 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.817, allocations: 5.469 kB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.8171, allocations: 39.69 kB / 0.9506 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.8171, allocations: 5.266 kB / 0.9506 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.8171, allocations: 10.97 kB / 0.9506 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.8173, allocations: 37.8 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8173, allocations: 0 / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8173, allocations: 0 / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8173, allocations: 1.25 kB / 0.9506 GB, free: 8 MB / 0.7169 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.0004025/0.8177, allocations: 333.9 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8178, allocations: 17.14 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.8179, allocations: 11.59 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.025e-05/0.818, allocations: 169.6 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.818, allocations: 384 / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.8181, allocations: 7.062 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.8182, allocations: 42.5 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8182, allocations: 4.125 kB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.8182, allocations: 9.297 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8182, allocations: 0 / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.8183, allocations: 16.25 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.8185, allocations: 163.2 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.8185, allocations: 41.69 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.8186, allocations: 22.59 kB / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.8186, allocations: 0 / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.8186, allocations: 31.94 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 7.12e-07/0.8186, allocations: 4 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002128/0.8208, allocations: 497 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.8208, allocations: 56.75 kB / 0.952 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.122e-05/0.8208, allocations: 101.7 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.8209, allocations: 31.08 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.305e-05/0.8209, allocations: 80.14 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.8209, allocations: 26.72 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.821, allocations: 20.03 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.821, allocations: 316.3 kB / 0.9525 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.8211, allocations: 19 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.8211, allocations: 32.05 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.472e-05/0.8212, allocations: 54.64 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.8212, allocations: 1.812 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001336/0.8214, allocations: 90.64 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8214, allocations: 9.094 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.8214, allocations: 1.062 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8214, allocations: 0 / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.8216, allocations: 12.62 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.8216, allocations: 3.938 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.8217, allocations: 5.062 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8217, allocations: 6.906 kB / 0.9528 GB, free: 5.898 MB / 0.7169 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 5.545e-05/0.8217, allocations: 116.8 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.8218, allocations: 9.656 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.8218, allocations: 11.97 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8218, allocations: 1.219 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8218, allocations: 4 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8218, allocations: 5.25 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.8219, allocations: 188.7 kB / 0.9531 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.822, allocations: 0 / 0.9531 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.8221, allocations: 15.44 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8221, allocations: 3.938 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.8221, allocations: 1.125 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8221, allocations: 1.156 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8221, allocations: 3.984 kB / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.8224, allocations: 142.6 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.8224, allocations: 82.39 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.8224, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.8225, allocations: 13.09 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.8226, allocations: 5.328 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.8226, allocations: 2.844 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.935e-05/0.8226, allocations: 75.28 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8226, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001886/0.8228, allocations: 13.59 kB / 0.9534 GB, free: 5.215 MB / 0.7169 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.0001094/0.8229, allocations: 100.9 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.8231, allocations: 69.62 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8231, allocations: 0 / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.8232, allocations: 30 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.8234, allocations: 12.7 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.824, allocations: 194.7 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.8241, allocations: 0.6807 MB / 0.9545 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.765e-05/0.8242, allocations: 11.09 kB / 0.9545 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.8242, allocations: 10.31 kB / 0.9545 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.8242, allocations: 0 / 0.9545 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.003046/0.8273, allocations: 0.6677 MB / 0.9552 GB, free: 3.863 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches