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.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.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.001292/0.001292, 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.001412/0.001412, allocations: 196.2 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.244/2.244, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5934/0.5948, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002517/0.5974, allocations: 1.472 MB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004307/0.5978, allocations: 200.8 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.5978, allocations: 0 / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.5979, allocations: 0 / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.688e-05/0.5979, allocations: 5.219 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.5981, allocations: 21.09 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.264e-05/0.5981, allocations: 32.89 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.5982, allocations: 3.531 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.5983, allocations: 15.45 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.5983, allocations: 3.219 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.5983, allocations: 5.188 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.5984, allocations: 31.25 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.5984, allocations: 9.266 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.5984, allocations: 6.656 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.5985, allocations: 31.41 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5986, allocations: 4 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.5986, allocations: 0 / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5986, allocations: 0 / 0.9508 GB, free: 7.715 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.0003275/0.5989, allocations: 342.3 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5989, allocations: 9.375 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.456e-05/0.599, allocations: 32.12 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.5991, allocations: 7.484 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.5991, allocations: 169.4 kB / 0.9514 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5992, allocations: 9.281 kB / 0.9514 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.5992, allocations: 1.375 kB / 0.9514 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.5993, allocations: 54.3 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5993, allocations: 3.938 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.5994, allocations: 0 / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5994, allocations: 1.375 kB / 0.9514 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.5995, allocations: 33.64 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.5998, allocations: 246.6 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.5999, allocations: 46.58 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.6, allocations: 26.62 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.6, allocations: 0 / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.6, allocations: 35.75 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.6, allocations: 0 / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003095/0.6003, allocations: 80.55 kB / 0.9519 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.6004, allocations: 52.97 kB / 0.9519 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.6004, allocations: 98.03 kB / 0.952 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.6004, allocations: 31.95 kB / 0.9521 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.6004, allocations: 84.27 kB / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.6005, allocations: 3.906 kB / 0.9521 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.6005, allocations: 13.84 kB / 0.9521 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.529e-05/0.6005, allocations: 314.8 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.6006, allocations: 20.56 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.6007, allocations: 17.8 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.6008, allocations: 39.11 kB / 0.9525 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6008, allocations: 4.656 kB / 0.9525 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.601, allocations: 63.91 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.601, allocations: 5.625 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.601, allocations: 0 / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6011, allocations: 1.656 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.6011, allocations: 17.08 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.6012, allocations: 5.359 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.6012, allocations: 15.39 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.6012, allocations: 4 kB / 0.9526 GB, free: 5.836 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 4.047e-05/0.6013, allocations: 116.3 kB / 0.9527 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.6013, allocations: 5.219 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.6015, allocations: 80.95 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6015, allocations: 3.938 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6015, allocations: 48 / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6015, allocations: 5.109 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.6016, allocations: 159.8 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6016, allocations: 0 / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.6017, allocations: 10.3 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.6017, allocations: 1.625 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.6017, allocations: 0 / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6017, allocations: 0 / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6017, allocations: 7.938 kB / 0.953 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.6019, allocations: 165.8 kB / 0.9532 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.602, allocations: 82.72 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.602, allocations: 0 / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.6021, allocations: 3.719 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.6021, allocations: 9.359 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.6021, allocations: 5.062 kB / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.854e-05/0.6021, allocations: 78.34 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6021, allocations: 1.469 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002071/0.6023, allocations: 4.125 kB / 0.9533 GB, free: 5.094 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.0003139/0.6027, allocations: 0.7121 MB / 0.954 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.6028, allocations: 33.72 kB / 0.9541 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6029, allocations: 0 / 0.9541 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.6029, allocations: 21.16 kB / 0.9541 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.6032, allocations: 7.719 kB / 0.9541 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.6036, allocations: 158.9 kB / 0.9543 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.16e-05/0.6036, allocations: 0.674 MB / 0.9549 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.6037, allocations: 5.234 kB / 0.9549 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.6037, allocations: 19.86 kB / 0.9549 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6037, allocations: 0 / 0.9549 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008524/0.6123, allocations: 1.163 MB / 0.9561 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/0.6124, allocations: 220.2 kB / 0.9563 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.292, allocations: 2.031 kB / 0.9563 GB, free: 2.668 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