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.001049/0.001049, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009124/0.009124, allocations: 169 kB / 16.26 MB, free: 6.66 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.582/2.582, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8975/0.8979, allocations: 142.4 MB / 0.9551 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001873/0.8999, allocations: 1.012 MB / 0.956 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.9012, allocations: 0.6362 MB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.9012, allocations: 4 kB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.9013, allocations: 0 / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/0.9013, allocations: 13.06 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.9018, allocations: 91.42 kB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.9019, allocations: 23.56 kB / 0.9568 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.902, allocations: 1.312 kB / 0.9568 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.902, allocations: 14.03 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.9021, allocations: 8.328 kB / 0.9568 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.9021, allocations: 5.438 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.9025, allocations: 149.2 kB / 0.957 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.9025, allocations: 1.188 kB / 0.957 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.9026, allocations: 42.06 kB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.9028, allocations: 103.1 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9028, allocations: 0 / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.389e-06/0.9028, allocations: 0 / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.9028, allocations: 3.938 kB / 0.9571 GB, free: 6.199 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.0004931/0.9033, allocations: 353 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.9034, allocations: 13.33 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.9039, allocations: 25.06 kB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.904, allocations: 166 kB / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.904, allocations: 384 / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.9041, allocations: 3.062 kB / 0.9576 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.9043, allocations: 62.05 kB / 0.9577 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.9043, allocations: 192 / 0.9577 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.9043, allocations: 7.938 kB / 0.9577 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.9043, allocations: 1.656 kB / 0.9577 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.9045, allocations: 30.86 kB / 0.9577 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.9047, allocations: 163.2 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.9051, allocations: 74.17 kB / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.9052, allocations: 25.25 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.9052, allocations: 1.625 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.9053, allocations: 30.56 kB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.9053, allocations: 4 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003574/0.9088, allocations: 0.5788 MB / 0.9586 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.9089, allocations: 52.78 kB / 0.9586 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.909, allocations: 96.61 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.909, allocations: 25.7 kB / 0.9588 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.9091, allocations: 89.5 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.9091, allocations: 22.39 kB / 0.9589 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.9091, allocations: 15.09 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.9092, allocations: 312.2 kB / 0.9592 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.9094, allocations: 41.97 kB / 0.9592 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.9095, allocations: 43.19 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.9098, allocations: 75.33 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.9098, allocations: 0 / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000355/0.9102, allocations: 129.6 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.9102, allocations: 13.61 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9103, allocations: 1.375 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.9103, allocations: 0 / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.9105, allocations: 23.09 kB / 0.9595 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9105, allocations: 0 / 0.9595 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.9107, allocations: 8.125 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.9107, allocations: 6.734 kB / 0.9595 GB, free: 3.938 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 0.0001027/0.9108, allocations: 111.2 kB / 0.9596 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.9108, allocations: 6.688 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.9109, allocations: 13.34 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.9109, allocations: 1.375 kB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9109, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.911, allocations: 0 / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.9112, allocations: 190.5 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9112, allocations: 0 / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.9114, allocations: 27.03 kB / 0.9598 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.9114, allocations: 7.875 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.9114, allocations: 9.359 kB / 0.9598 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9114, allocations: 1.375 kB / 0.9598 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9114, allocations: 3.938 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.912, allocations: 191.1 kB / 0.96 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.9121, allocations: 84.95 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.9121, allocations: 1.375 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.9123, allocations: 10.86 kB / 0.9601 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.9123, allocations: 2.594 kB / 0.9601 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.9123, allocations: 10.77 kB / 0.9601 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.9124, allocations: 76.59 kB / 0.9602 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9124, allocations: 4.156 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003093/0.9127, allocations: 27.22 kB / 0.9602 GB, free: 3.219 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.0003166/0.913, allocations: 130 kB / 0.9604 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.9134, allocations: 92.7 kB / 0.9605 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9134, allocations: 0 / 0.9605 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.9136, allocations: 43.73 kB / 0.9605 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.9139, allocations: 15.55 kB / 0.9605 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.9147, allocations: 178.6 kB / 0.9607 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.915, allocations: 0.6794 MB / 0.9613 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.9152, allocations: 36.05 kB / 0.9614 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.9153, allocations: 20.09 kB / 0.9614 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 1.513e-06/0.9153, allocations: 0 / 0.9614 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.005332/0.9206, allocations: 1.445 MB / 0.9628 GB, free: 1.422 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