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.001548/0.001548, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002015/0.002015, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.48 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.766/2.766, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8123, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00232/0.8147, allocations: 1.32 MB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000468/0.8151, allocations: 233.4 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.8152, allocations: 0 / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.8152, allocations: 0 / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.8153, allocations: 1.375 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.8156, allocations: 38.83 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.8156, allocations: 17.62 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.8157, allocations: 5.359 kB / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.8157, allocations: 9.484 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.8158, allocations: 14.67 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.8158, allocations: 1.375 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.8159, allocations: 40.72 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.8159, allocations: 3.984 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.8159, allocations: 12.06 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.8161, allocations: 37.83 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8161, allocations: 0 / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8161, allocations: 0 / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.8161, allocations: 4 kB / 0.9508 GB, free: 7.789 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.0003201/0.8164, allocations: 331.3 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8165, allocations: 13.61 kB / 0.9511 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.8166, allocations: 11.72 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.898e-05/0.8167, allocations: 172.2 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.8167, allocations: 5.688 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.8167, allocations: 9.734 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.8168, allocations: 46.5 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8168, allocations: 1.562 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.8169, allocations: 3.938 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.8169, allocations: 1.375 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.8169, allocations: 10.88 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.817, allocations: 159.2 kB / 0.9515 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.8171, allocations: 47 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.8172, allocations: 25.22 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.8172, allocations: 1.375 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.8172, allocations: 31.94 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.8172, allocations: 0 / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002042/0.8193, allocations: 0.4922 MB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.8193, allocations: 52.41 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.879e-05/0.8193, allocations: 95.72 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.8193, allocations: 29.7 kB / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.8194, allocations: 80.14 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.8194, allocations: 27.53 kB / 0.9524 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.8195, allocations: 27.42 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.8195, allocations: 310.8 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.8196, allocations: 31.36 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.8196, allocations: 21.25 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.8197, allocations: 54.27 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8197, allocations: 0 / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000127/0.8198, allocations: 93.45 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8199, allocations: 8.219 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8199, allocations: 0 / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.8199, allocations: 5.625 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.82, allocations: 16.53 kB / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.8201, allocations: 0 / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.8201, allocations: 5.281 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.8201, allocations: 1.312 kB / 0.9529 GB, free: 5.691 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.555e-05/0.8202, allocations: 120.9 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.8202, allocations: 9.281 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.8203, allocations: 17.22 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8203, allocations: 0 / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8203, allocations: 9.219 kB / 0.9531 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8203, allocations: 0 / 0.9531 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.8204, allocations: 184.2 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8204, allocations: 1.344 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.8205, allocations: 11.22 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8206, allocations: 5.281 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.8206, allocations: 0 / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8206, allocations: 1.219 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8206, allocations: 3.984 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.8208, allocations: 145.9 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.8208, allocations: 82.67 kB / 0.9535 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.8209, allocations: 5.375 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.821, allocations: 4.156 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.821, allocations: 5.359 kB / 0.9535 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.821, allocations: 3.312 kB / 0.9535 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.234e-05/0.821, allocations: 75.28 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.821, allocations: 0 / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001874/0.8212, allocations: 16.94 kB / 0.9536 GB, free: 5.004 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.0001065/0.8213, allocations: 101.6 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.8215, allocations: 69.28 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8215, allocations: 0 / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/0.8216, allocations: 30.44 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.8218, allocations: 12.17 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.8224, allocations: 192.7 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.8225, allocations: 0.6902 MB / 0.9547 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.377e-05/0.8226, allocations: 10.59 kB / 0.9547 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.8226, allocations: 10.25 kB / 0.9547 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8226, allocations: 0 / 0.9547 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.002819/0.8254, allocations: 0.6954 MB / 0.9554 GB, free: 3.641 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