Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001398/0.001398, 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.001498/0.001498, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.27/1.27, 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.068/2.068, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.488, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002078/0.4901, allocations: 1.396 MB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003513/0.4905, allocations: 198.2 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.4905, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.4905, allocations: 13.3 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.4906, allocations: 0 / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.4908, allocations: 25.41 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.4908, allocations: 26.86 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.4909, allocations: 10.75 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.491, allocations: 12.05 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.491, allocations: 6.75 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.491, allocations: 2.75 kB / 0.9514 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.4911, allocations: 27.75 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.4911, allocations: 15.92 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.4911, allocations: 2.688 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.66e-05/0.4912, allocations: 40 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4912, allocations: 0 / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4912, allocations: 0 / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.4913, allocations: 0 / 0.9514 GB, free: 7.828 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003063/0.4916, allocations: 342.6 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.4916, allocations: 9.719 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.981e-05/0.4916, allocations: 36.23 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.4917, allocations: 7.281 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.4918, allocations: 165.8 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.4918, allocations: 384 / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.4918, allocations: 1.844 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.492, allocations: 58.11 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.492, allocations: 3.938 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.492, allocations: 0 / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.492, allocations: 1.188 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.4922, allocations: 37.95 kB / 0.9521 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.4924, allocations: 251 kB / 0.9523 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4925, allocations: 41.5 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.4926, allocations: 27.34 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4926, allocations: 4 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.017e-05/0.4926, allocations: 31.53 kB / 0.9524 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4926, allocations: 0 / 0.9524 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003006/0.4929, allocations: 81.02 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.493, allocations: 53.12 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.313e-05/0.493, allocations: 110.7 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.493, allocations: 25.7 kB / 0.9527 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.493, allocations: 81.55 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.4931, allocations: 3.906 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.4931, allocations: 16 kB / 0.9528 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.4931, allocations: 320.4 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.4932, allocations: 16.58 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.4933, allocations: 18.64 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4934, allocations: 35.39 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4934, allocations: 3.938 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.4936, allocations: 64.12 kB / 0.9532 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4936, allocations: 5.781 kB / 0.9532 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4936, allocations: 4.094 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4936, allocations: 0 / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.4937, allocations: 10.23 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4937, allocations: 5.125 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.4938, allocations: 15.17 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.4938, allocations: 1 kB / 0.9532 GB, free: 5.953 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 (2): * Single equations (assignments): 2 * 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 3.727e-05/0.4938, allocations: 114.9 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.4939, allocations: 5.094 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.4941, allocations: 80.39 kB / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4941, allocations: 1.562 kB / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4941, allocations: 0 / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.4941, allocations: 0 / 0.9534 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.831e-05/0.4942, allocations: 158.9 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4942, allocations: 1.438 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.4943, allocations: 10.7 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4943, allocations: 4 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.4943, allocations: 1.281 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4943, allocations: 3.938 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4943, allocations: 5.156 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.4945, allocations: 169.2 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.4945, allocations: 77.11 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.4945, allocations: 5.125 kB / 0.9539 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.4946, allocations: 16.48 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.4946, allocations: 0.9375 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.4946, allocations: 1.344 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.763e-05/0.4947, allocations: 77.88 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4947, allocations: 1.312 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002056/0.4949, allocations: 8.125 kB / 0.954 GB, free: 5.207 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0003105/0.4952, allocations: 0.7078 MB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.4954, allocations: 38.64 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4954, allocations: 0 / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.4955, allocations: 21.48 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.4957, allocations: 10.56 kB / 0.9547 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.4961, allocations: 146.1 kB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.424e-05/0.4962, allocations: 0.6776 MB / 0.9555 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.4962, allocations: 13.09 kB / 0.9555 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.4962, allocations: 10.22 kB / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4962, allocations: 0 / 0.9555 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.188/1.684, allocations: 1.337 MB / 0.9568 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.66, allocations: 11.72 kB / 0.9569 GB, free: 2.879 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches