Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, 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.001514/0.001514, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.463/2.463, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8818/0.884, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002757/0.8868, allocations: 1.347 MB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.8878, allocations: 0.6372 MB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.8879, allocations: 0 / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.8879, allocations: 7.922 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.888, allocations: 5.531 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.8885, allocations: 95.38 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.8886, allocations: 27.89 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.8887, allocations: 1.344 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.8887, allocations: 10.25 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.8888, allocations: 15.75 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.8888, allocations: 2.5 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.8891, allocations: 148.4 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.8891, allocations: 2.125 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.8892, allocations: 23.97 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.8894, allocations: 90.83 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8894, allocations: 0 / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8894, allocations: 0 / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.8894, allocations: 0 / 0.9515 GB, free: 7.289 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004326/0.8899, allocations: 358 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8899, allocations: 9.156 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.8904, allocations: 30.12 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.8905, allocations: 169.1 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8905, allocations: 1.719 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.8905, allocations: 5.812 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.8907, allocations: 58.7 kB / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.8907, allocations: 192 / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.8908, allocations: 7.938 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8908, allocations: 5.469 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.8909, allocations: 25.78 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.891, allocations: 164 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.8914, allocations: 79.48 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.8914, allocations: 28.14 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.8915, allocations: 1.406 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.8915, allocations: 30.56 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.8915, allocations: 1.656 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003444/0.8949, allocations: 0.5775 MB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.895, allocations: 51.41 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.895, allocations: 96.62 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.8951, allocations: 27.36 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.811e-05/0.8951, allocations: 88.27 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.8951, allocations: 18.25 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.8952, allocations: 28.16 kB / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.8952, allocations: 316.1 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.8954, allocations: 33.72 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.8955, allocations: 38.72 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.8958, allocations: 87.72 kB / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8958, allocations: 0 / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003166/0.8961, allocations: 125.3 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8961, allocations: 9.562 kB / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8961, allocations: 240 / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8962, allocations: 1.438 kB / 0.9538 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.8964, allocations: 21.25 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8964, allocations: 9.047 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.8966, allocations: 12.3 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.8966, allocations: 6.609 kB / 0.9539 GB, free: 5.004 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 (7): * Single equations (assignments): 7 * 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 6.573e-05/0.8967, allocations: 111.2 kB / 0.954 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.8967, allocations: 9.531 kB / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.8968, allocations: 9.438 kB / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8968, allocations: 1.188 kB / 0.954 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.8968, allocations: 5.375 kB / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8968, allocations: 64 / 0.954 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.8969, allocations: 186 kB / 0.9542 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8969, allocations: 1.531 kB / 0.9542 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8971, allocations: 21.64 kB / 0.9542 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8972, allocations: 9.219 kB / 0.9542 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.8972, allocations: 5.141 kB / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8972, allocations: 0 / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8972, allocations: 1.625 kB / 0.9542 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.8977, allocations: 193.8 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.8977, allocations: 90.22 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.8978, allocations: 4 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.898, allocations: 16.09 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.898, allocations: 5.266 kB / 0.9545 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.898, allocations: 2.656 kB / 0.9545 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.234e-05/0.898, allocations: 81.98 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.898, allocations: 0 / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002815/0.8983, allocations: 30.78 kB / 0.9546 GB, free: 4.281 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 (6): * Single equations (assignments): 6 * 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.0002193/0.8986, allocations: 129.2 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.8989, allocations: 89.05 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8989, allocations: 1 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.8991, allocations: 51.58 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.8993, allocations: 7.75 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.9, allocations: 175.2 kB / 0.9551 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.9001, allocations: 0.6878 MB / 0.9557 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.9003, allocations: 23.66 kB / 0.9558 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.9004, allocations: 19.64 kB / 0.9558 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9004, allocations: 0 / 0.9558 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.004006/0.9044, allocations: 1.493 MB / 0.9572 GB, free: 2.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches