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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001487/0.001487, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6145, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002641/0.6172, allocations: 1.347 MB / 0.9504 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.6181, allocations: 0.6539 MB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.6181, allocations: 0 / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.6182, allocations: 0 / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.6182, allocations: 5.094 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.6188, allocations: 91.53 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.6188, allocations: 31.61 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.6189, allocations: 1.125 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.6189, allocations: 10.83 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.619, allocations: 15.83 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.619, allocations: 5.219 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.6194, allocations: 145 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.6194, allocations: 5.359 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.6195, allocations: 17.05 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.6197, allocations: 89.8 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6198, allocations: 1.312 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6198, allocations: 0 / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6198, allocations: 0 / 0.9514 GB, free: 7.406 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.0005229/0.6203, allocations: 361.6 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6204, allocations: 10.06 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.6204, allocations: 34.69 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.6208, allocations: 33.67 kB / 0.9518 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.6209, allocations: 165.7 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.621, allocations: 1.938 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.621, allocations: 5.844 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.6212, allocations: 57.31 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6212, allocations: 7.922 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6212, allocations: 1.094 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6212, allocations: 0 / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.6214, allocations: 23.33 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.6215, allocations: 167.2 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.6218, allocations: 75.78 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.6219, allocations: 28.19 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.622, allocations: 1.375 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.622, allocations: 35.91 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.622, allocations: 0 / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003522/0.6255, allocations: 0.5778 MB / 0.9529 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.6256, allocations: 60.31 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.639e-05/0.6256, allocations: 95.92 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.6256, allocations: 26.61 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.6256, allocations: 81.05 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.6257, allocations: 23.14 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.6257, allocations: 23.3 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.6258, allocations: 316.1 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6259, allocations: 38.38 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.6261, allocations: 38.78 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.6263, allocations: 78.56 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6263, allocations: 4 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003305/0.6267, allocations: 133.4 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6267, allocations: 6.281 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6267, allocations: 80 / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6267, allocations: 0 / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.6269, allocations: 26.56 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6269, allocations: 5.297 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.6271, allocations: 4.125 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.6271, allocations: 6.859 kB / 0.9539 GB, free: 5.082 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.085e-05/0.6272, allocations: 115.4 kB / 0.954 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6272, allocations: 5.375 kB / 0.954 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.6273, allocations: 13.41 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6273, allocations: 1.062 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6273, allocations: 8.047 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6273, allocations: 1.625 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.6274, allocations: 181.2 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6274, allocations: 1.344 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.6277, allocations: 29.94 kB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6277, allocations: 7.938 kB / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6277, allocations: 2.469 kB / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6277, allocations: 0 / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6277, allocations: 0 / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.6282, allocations: 194.5 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.6283, allocations: 86.02 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.6283, allocations: 1.469 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.6285, allocations: 11.14 kB / 0.9545 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.6285, allocations: 1.594 kB / 0.9545 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.6285, allocations: 6.516 kB / 0.9545 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.804e-05/0.6285, allocations: 85.84 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6286, allocations: 0 / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002444/0.6288, allocations: 26.78 kB / 0.9546 GB, free: 4.363 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.0007183/0.6295, allocations: 0.7566 MB / 0.9554 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.6299, allocations: 89.14 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6299, allocations: 1.125 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.63, allocations: 47.89 kB / 0.9555 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6302, allocations: 11.84 kB / 0.9555 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.6319, allocations: 1.355 MB / 0.9568 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.338e-05/0.632, allocations: 0.6797 MB / 0.9575 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.6322, allocations: 31.12 kB / 0.9575 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.6323, allocations: 15.7 kB / 0.9575 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6323, allocations: 1.344 kB / 0.9575 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.6531, allocations: 2.323 MB / 0.9598 GB, free: 488 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.6533, allocations: 266.5 kB / 0.9601 GB, free: 180 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.315, allocations: 0 / 0.9601 GB, free: 180 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