Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006622/0.006622, allocations: 99.86 kB / 15.73 MB, free: 6.062 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.001464/0.001464, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9319/0.9334, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002513/0.9359, allocations: 1.296 MB / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.937, allocations: 0.6381 MB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.937, allocations: 0 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.9371, allocations: 3.938 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.9371, allocations: 7.984 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.9376, allocations: 103.5 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.9377, allocations: 31.86 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.9377, allocations: 0 / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.718e-05/0.9377, allocations: 11.97 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.9378, allocations: 12 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.9378, allocations: 0 / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.9381, allocations: 155.7 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.9382, allocations: 3.984 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.9382, allocations: 8 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.9384, allocations: 100.2 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9384, allocations: 0 / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9384, allocations: 3.938 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.9384, allocations: 4 kB / 1.169 GB, free: 1.434 MB / 0.8887 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.0005792/0.939, allocations: 351.3 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.9391, allocations: 8.922 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.9395, allocations: 24.91 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.9397, allocations: 172.3 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.9397, allocations: 4.375 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.9397, allocations: 12.2 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.9399, allocations: 58.22 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.94, allocations: 4.172 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.94, allocations: 3.938 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.94, allocations: 4 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.9401, allocations: 27.97 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.9403, allocations: 161.7 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.9407, allocations: 66.52 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.9408, allocations: 32.92 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.9408, allocations: 0 / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.9408, allocations: 34.56 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9409, allocations: 4 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.003669/0.9445, allocations: 0.5643 MB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.9446, allocations: 51.41 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.9446, allocations: 97.84 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.9447, allocations: 29.7 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.9447, allocations: 80.14 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.9447, allocations: 27.78 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.9448, allocations: 29.69 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9449, allocations: 315 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.9451, allocations: 31.97 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.9452, allocations: 43.91 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.9455, allocations: 84.81 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.9455, allocations: 3.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003684/0.9459, allocations: 117.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9459, allocations: 7.938 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9459, allocations: 80 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.946, allocations: 4.062 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.9462, allocations: 27.97 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9462, allocations: 7.922 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.9464, allocations: 7.984 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.9464, allocations: 7.984 kB / 1.171 GB, free: 14.69 MB / 0.9044 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 8.322e-05/0.9465, allocations: 109.8 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.9466, allocations: 11.89 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.9466, allocations: 11.97 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.9466, allocations: 3.938 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.9466, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9467, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.9468, allocations: 179.7 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9468, allocations: 4 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.9471, allocations: 23.97 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9471, allocations: 3.938 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.9471, allocations: 7.984 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9471, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9471, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.9477, allocations: 189.3 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.9477, allocations: 88.98 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.9477, allocations: 4.031 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.9479, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.948, allocations: 16.03 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.948, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.948, allocations: 87.27 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.948, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002357/0.9483, allocations: 27.94 kB / 1.172 GB, free: 13.82 MB / 0.9044 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.0001949/0.9485, allocations: 123.1 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.9488, allocations: 95.95 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9489, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.949, allocations: 47.95 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.9493, allocations: 8.188 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.95, allocations: 169.8 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.9502, allocations: 0.6845 MB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.9504, allocations: 27.94 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.9505, allocations: 15.42 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9505, allocations: 0 / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.004097/0.9546, allocations: 1.511 MB / 1.175 GB, free: 11.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches