Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001505/0.001505, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.895/2.895, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.000383, allocations: 10.62 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3842, allocations: 159.6 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001519/0.3858, allocations: 1.006 MB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.3867, allocations: 0.5339 MB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.3868, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3868, allocations: 7.984 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.3869, allocations: 11.92 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3873, allocations: 75.7 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.3874, allocations: 15.88 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.3875, allocations: 4 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.3875, allocations: 7.984 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.3876, allocations: 19.86 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3876, allocations: 0 / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.3879, allocations: 143.7 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.3879, allocations: 0 / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.388, allocations: 29.7 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3881, allocations: 60.16 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3881, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3881, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3881, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004307/0.3886, allocations: 347.3 kB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3886, allocations: 12.02 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/0.3891, allocations: 27.97 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3892, allocations: 163 kB / 1.06 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3892, allocations: 7.938 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3893, allocations: 7.984 kB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3894, allocations: 49.59 kB / 1.06 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3894, allocations: 0 / 1.06 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3894, allocations: 4 kB / 1.06 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3895, allocations: 0 / 1.06 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3896, allocations: 23.97 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.3898, allocations: 165.5 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3899, allocations: 42.59 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.39, allocations: 16.91 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.39, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3901, allocations: 38.5 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3901, allocations: 0 / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002857/0.3903, allocations: 77.66 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3904, allocations: 51.41 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.3905, allocations: 97.84 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3905, allocations: 25.7 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.3905, allocations: 84.14 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3906, allocations: 4 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.3906, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3907, allocations: 310.8 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.3908, allocations: 20.02 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.3908, allocations: 7.984 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.3909, allocations: 19.92 kB / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3909, allocations: 0 / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001555/0.3911, allocations: 65.59 kB / 1.061 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3911, allocations: 8 kB / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3911, allocations: 0 / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3911, allocations: 0 / 1.061 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3912, allocations: 11.92 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3913, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.3913, allocations: 4 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3913, allocations: 0 / 1.062 GB, free: 1.457 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.089e-05/0.3914, allocations: 121.8 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.3914, allocations: 7.953 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.3915, allocations: 7.062 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3915, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3915, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3915, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3916, allocations: 153.7 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3916, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.3917, allocations: 19.88 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3917, allocations: 4 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3918, allocations: 4 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.3919, allocations: 85.09 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.392, allocations: 77.14 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.392, allocations: 11.94 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.3921, allocations: 4 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3921, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3921, allocations: 4 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.3922, allocations: 87.44 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3922, allocations: 0 / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002068/0.3924, allocations: 12 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.3926, allocations: 113.2 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3927, allocations: 31.91 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3928, allocations: 0 / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.3928, allocations: 15.98 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3931, allocations: 7.984 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.3934, allocations: 132.6 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3937, allocations: 0.6692 MB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.559e-05/0.3938, allocations: 15.92 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3938, allocations: 15.38 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3938, allocations: 4 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.003362/0.3972, allocations: 0.6849 MB / 1.064 GB, free: 15.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches