Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.0008605/0.0008607, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005107/0.005107, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.096/2.096, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002889, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5267, allocations: 142.4 MB / 0.9552 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001283/0.528, allocations: 1.128 MB / 0.9563 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.5288, allocations: 0.5959 MB / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.5289, allocations: 0 / 0.9568 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.5289, allocations: 4 kB / 0.9569 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-05/0.5289, allocations: 5.281 kB / 0.9569 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.5292, allocations: 83.28 kB / 0.9569 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.5293, allocations: 26.7 kB / 0.957 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.5294, allocations: 6.406 kB / 0.957 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.5294, allocations: 7.312 kB / 0.957 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.5295, allocations: 11.64 kB / 0.957 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.5295, allocations: 5.188 kB / 0.957 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.5297, allocations: 150 kB / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.5298, allocations: 7.938 kB / 0.9571 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.5298, allocations: 32.34 kB / 0.9572 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.5299, allocations: 93.83 kB / 0.9573 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5299, allocations: 1.938 kB / 0.9573 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.53, allocations: 3.938 kB / 0.9573 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.53, allocations: 0 / 0.9573 GB, free: 6.164 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.0003108/0.5303, allocations: 368.4 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5303, allocations: 13.25 kB / 0.9576 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.959e-05/0.5303, allocations: 32.28 kB / 0.9577 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.5307, allocations: 23.94 kB / 0.9577 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.732e-05/0.5308, allocations: 169.8 kB / 0.9578 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.5308, allocations: 9.891 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.5308, allocations: 5.656 kB / 0.9579 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.531, allocations: 67.52 kB / 0.9579 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.531, allocations: 3.938 kB / 0.9579 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.531, allocations: 0 / 0.9579 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.531, allocations: 2 kB / 0.9579 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.5313, allocations: 64.84 kB / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.5316, allocations: 278.7 kB / 0.9583 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.5318, allocations: 69.33 kB / 0.9583 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.5319, allocations: 40.52 kB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.532, allocations: 1.781 kB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.532, allocations: 34.55 kB / 0.9584 GB, free: 5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.532, allocations: 0 / 0.9584 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004474/0.5324, allocations: 129.9 kB / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.5325, allocations: 55.34 kB / 0.9586 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.102e-05/0.5325, allocations: 99.36 kB / 0.9587 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.5325, allocations: 29.83 kB / 0.9587 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.5326, allocations: 85.5 kB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.5326, allocations: 5.281 kB / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.5326, allocations: 9.719 kB / 0.9588 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.5326, allocations: 316.2 kB / 0.9591 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.5328, allocations: 31.22 kB / 0.9591 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.5329, allocations: 33.84 kB / 0.9592 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.5331, allocations: 69.98 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5331, allocations: 5.312 kB / 0.9592 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000261/0.5334, allocations: 94.89 kB / 0.9593 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.5334, allocations: 11 kB / 0.9593 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.5334, allocations: 0 / 0.9593 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.5334, allocations: 1.375 kB / 0.9593 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5335, allocations: 17.59 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5336, allocations: 5.312 kB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.5336, allocations: 10.91 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.5337, allocations: 5.359 kB / 0.9594 GB, free: 4.152 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.196e-05/0.5337, allocations: 115.2 kB / 0.9595 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.5337, allocations: 5.281 kB / 0.9595 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.5338, allocations: 8.438 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.5338, allocations: 0 / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5338, allocations: 1.375 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.5338, allocations: 4 kB / 0.9595 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.5339, allocations: 167.1 kB / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5339, allocations: 1.375 kB / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.534, allocations: 17.59 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.534, allocations: 1.375 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.534, allocations: 0 / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.534, allocations: 5.344 kB / 0.9597 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.534, allocations: 0 / 0.9597 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.5343, allocations: 202.3 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.5344, allocations: 86.17 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.5344, allocations: 1.031 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5345, allocations: 11.36 kB / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.5345, allocations: 1.781 kB / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.5345, allocations: 5.359 kB / 0.96 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.5346, allocations: 86.11 kB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5346, allocations: 0 / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002193/0.5348, allocations: 15.12 kB / 0.9601 GB, free: 3.43 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 (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 Backend phase and start with SimCode phase: time 0.00045/0.5352, allocations: 0.739 MB / 0.9608 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.5355, allocations: 71.66 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5355, allocations: 1.125 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5357, allocations: 32.81 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.5359, allocations: 6.312 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.5364, allocations: 188.2 kB / 0.9611 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.5364, allocations: 0.6773 MB / 0.9617 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.027e-05/0.5365, allocations: 11.09 kB / 0.9618 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.5366, allocations: 16.33 kB / 0.9618 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5366, allocations: 8.938 kB / 0.9618 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009143/0.5457, allocations: 1.392 MB / 0.9631 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.5459, allocations: 208.5 kB / 0.9633 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.137, allocations: 0 / 0.9633 GB, free: 0.8555 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches