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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.168/2.168, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5337, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001916/0.5357, allocations: 1.271 MB / 0.951 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.5365, allocations: 0.6396 MB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.5365, allocations: 0 / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.5365, allocations: 5.281 kB / 0.9516 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.5366, allocations: 7.922 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.5369, allocations: 108.7 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.537, allocations: 22.94 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.537, allocations: 6.109 kB / 0.9518 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.537, allocations: 9.312 kB / 0.9518 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.5371, allocations: 21.34 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.5371, allocations: 1.562 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.5374, allocations: 142.4 kB / 0.9519 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.5374, allocations: 5.031 kB / 0.9519 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.5374, allocations: 12.8 kB / 0.9519 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.5376, allocations: 93.48 kB / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5376, allocations: 0 / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5376, allocations: 0 / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.5376, allocations: 1.344 kB / 0.952 GB, free: 7.418 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.0003424/0.538, allocations: 356.6 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.538, allocations: 9.781 kB / 0.9524 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.419e-05/0.538, allocations: 35.84 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.5384, allocations: 29.98 kB / 0.9524 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.5385, allocations: 164.3 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.5385, allocations: 1.844 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.5385, allocations: 5.75 kB / 0.9526 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5387, allocations: 62.39 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5387, allocations: 3.938 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5387, allocations: 1.75 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5387, allocations: 0 / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.5388, allocations: 25.88 kB / 0.9527 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.539, allocations: 168.3 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.5393, allocations: 71.36 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.5394, allocations: 32.28 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.5394, allocations: 0.9688 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.5394, allocations: 39.78 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5394, allocations: 0 / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003128/0.5425, allocations: 0.5779 MB / 0.9536 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.5426, allocations: 60.44 kB / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.512e-05/0.5426, allocations: 96.33 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.5426, allocations: 27.05 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.127e-05/0.5426, allocations: 80.14 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.5427, allocations: 24.44 kB / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.5427, allocations: 23.98 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.5428, allocations: 316.2 kB / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.5429, allocations: 41.16 kB / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.543, allocations: 35.84 kB / 0.9542 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.5433, allocations: 78.66 kB / 0.9543 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.5433, allocations: 4 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003204/0.5436, allocations: 133.3 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5436, allocations: 4.625 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5437, allocations: 1.156 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5437, allocations: 0 / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.5439, allocations: 26.78 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.5439, allocations: 1.594 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.544, allocations: 3.188 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5441, allocations: 6.266 kB / 0.9545 GB, free: 5.098 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 5.411e-05/0.5441, allocations: 112.2 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.5441, allocations: 6.188 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.5442, allocations: 13.22 kB / 0.9546 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5442, allocations: 5.172 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5442, allocations: 3.938 kB / 0.9546 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5442, allocations: 0 / 0.9546 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/0.5443, allocations: 187.4 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5443, allocations: 3.938 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.5446, allocations: 30.5 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.5446, allocations: 3.938 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.5446, allocations: 1.281 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5446, allocations: 1.391 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5446, allocations: 0 / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.5451, allocations: 199.1 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.5451, allocations: 86.39 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.5451, allocations: 0 / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.5453, allocations: 10.98 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.5453, allocations: 2.688 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5454, allocations: 10.42 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.5454, allocations: 80.88 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5454, allocations: 0 / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.5456, allocations: 27.03 kB / 0.9552 GB, free: 4.375 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.0006621/0.5463, allocations: 0.7572 MB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.5466, allocations: 97.95 kB / 0.9561 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5466, allocations: 0 / 0.9561 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5468, allocations: 44.33 kB / 0.9561 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.547, allocations: 11.88 kB / 0.9561 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.5486, allocations: 1.348 MB / 0.9574 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.5486, allocations: 0.6808 MB / 0.9581 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.5489, allocations: 31.81 kB / 0.9581 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.5489, allocations: 15.92 kB / 0.9581 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/0.5489, allocations: 0 / 0.9581 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.5663, allocations: 2.464 MB / 0.9605 GB, free: 352 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.349, allocations: 9.312 kB / 0.9606 GB, free: 348 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[1]=-1.000000 " Variables in the reference:time,y,y_comp Variables in the result:T,TMax,TMin,der(T),der(y),der(y_comp),err,time,y,y_comp