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.001611/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001947/0.001947, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.097/2.097, allocations: 390.2 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5621, allocations: 140.4 MB / 0.9493 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001991/0.5642, allocations: 1.346 MB / 0.9506 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007349/0.5649, allocations: 0.6378 MB / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.369e-05/0.5649, allocations: 0 / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.5649, allocations: 0 / 0.9512 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.565, allocations: 5.219 kB / 0.9512 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.5653, allocations: 95.97 kB / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.699e-05/0.5654, allocations: 27.17 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.5654, allocations: 2.312 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.5655, allocations: 13.42 kB / 0.9513 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.5655, allocations: 13.17 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.5655, allocations: 1.094 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.5657, allocations: 150.1 kB / 0.9515 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.5658, allocations: 11.91 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.5658, allocations: 5.625 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.5659, allocations: 98.11 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.566, allocations: 0 / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.566, allocations: 1.219 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.566, allocations: 0 / 0.9516 GB, free: 7.422 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.0003356/0.5663, allocations: 361.3 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.5663, allocations: 9.312 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.002e-05/0.5664, allocations: 36.31 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.5668, allocations: 33.42 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.067e-05/0.5668, allocations: 168.3 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.5668, allocations: 1.625 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.5669, allocations: 3 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.567, allocations: 57.09 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.567, allocations: 3.938 kB / 0.9522 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5671, allocations: 1.344 kB / 0.9522 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5671, allocations: 4 kB / 0.9522 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.5672, allocations: 27.12 kB / 0.9523 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.5673, allocations: 175.3 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.5676, allocations: 72.09 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.5677, allocations: 23.53 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.5677, allocations: 1.812 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.5677, allocations: 36.41 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.5677, allocations: 3.984 kB / 0.9526 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003397/0.5711, allocations: 0.5774 MB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.5711, allocations: 52.69 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.092e-05/0.5712, allocations: 96.36 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5712, allocations: 29.7 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/0.5712, allocations: 85.45 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.5712, allocations: 18.3 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.5713, allocations: 24.14 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.5713, allocations: 316.1 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.5715, allocations: 34.25 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.5716, allocations: 49.69 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.5718, allocations: 75.67 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5718, allocations: 0 / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003255/0.5722, allocations: 138.1 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.5722, allocations: 5.75 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5722, allocations: 1.438 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5722, allocations: 3.938 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.5724, allocations: 22.69 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5724, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5726, allocations: 5.531 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.5726, allocations: 5.047 kB / 0.9541 GB, free: 5.094 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.404e-05/0.5727, allocations: 116.2 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.5727, allocations: 5.438 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.5728, allocations: 9.438 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5728, allocations: 1.219 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.5728, allocations: 5.5 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5728, allocations: 0 / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.5729, allocations: 182 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5729, allocations: 3.938 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.5731, allocations: 27.03 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5731, allocations: 0 / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5732, allocations: 10.42 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5732, allocations: 0 / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5732, allocations: 3.938 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.5736, allocations: 190.7 kB / 0.9546 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.5736, allocations: 86.3 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.5737, allocations: 1.312 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.5739, allocations: 18.52 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.5739, allocations: 2.875 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5739, allocations: 5.422 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.5739, allocations: 81.94 kB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5739, allocations: 0 / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002156/0.5742, allocations: 26.62 kB / 0.9548 GB, free: 4.379 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.0006537/0.5748, allocations: 0.7575 MB / 0.9555 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.5751, allocations: 88.97 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5751, allocations: 1.5 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.5753, allocations: 46.64 kB / 0.9557 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.5755, allocations: 15.81 kB / 0.9557 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.577, allocations: 1.369 MB / 0.957 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.663e-05/0.5771, allocations: 0.6812 MB / 0.9577 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.5773, allocations: 27.34 kB / 0.9577 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.5774, allocations: 21.11 kB / 0.9577 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5774, allocations: 0 / 0.9577 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.5896, allocations: 2.383 MB / 0.9601 GB, free: 464 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.5897, allocations: 270.6 kB / 0.9603 GB, free: 152 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.2, allocations: 0 / 0.9603 GB, free: 152 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