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.0008665/0.0008665, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004943/0.004943, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.106/2.106, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002934, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.506, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001099/0.5071, allocations: 1.128 MB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.5074, allocations: 200.8 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.5075, allocations: 0 / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.5075, allocations: 0 / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.5075, allocations: 9.422 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.5077, allocations: 12.23 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.5077, allocations: 33.58 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.35e-05/0.5078, allocations: 7.844 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.5078, allocations: 11.55 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.5079, allocations: 10.23 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.5079, allocations: 1.156 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.508, allocations: 23.3 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.508, allocations: 7.922 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.508, allocations: 33.36 kB / 0.9566 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.159e-05/0.5081, allocations: 34.52 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5081, allocations: 0 / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5081, allocations: 5.688 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.5081, allocations: 0 / 0.9566 GB, free: 6.477 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.0002786/0.5084, allocations: 340.3 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.5084, allocations: 9.438 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.089e-05/0.5085, allocations: 36.22 kB / 0.957 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.5085, allocations: 11.8 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.2e-05/0.5086, allocations: 161.4 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.5086, allocations: 4.375 kB / 0.9572 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.5086, allocations: 6.281 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.5088, allocations: 57.94 kB / 0.9572 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.5088, allocations: 3.938 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.5088, allocations: 4.906 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.5088, allocations: 0 / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.509, allocations: 48.2 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.5092, allocations: 246.5 kB / 0.9575 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5093, allocations: 55.52 kB / 0.9576 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.5094, allocations: 31.28 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.5094, allocations: 1.094 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.5095, allocations: 35.47 kB / 0.9576 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5095, allocations: 4 kB / 0.9576 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003179/0.5098, allocations: 91.67 kB / 0.9577 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.5098, allocations: 55.53 kB / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.825e-05/0.5099, allocations: 98.73 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.5099, allocations: 30.72 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.5099, allocations: 85.2 kB / 0.958 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.5099, allocations: 5 kB / 0.958 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.5099, allocations: 9.719 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.51, allocations: 311.9 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.5101, allocations: 26.61 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.5101, allocations: 25.5 kB / 0.9584 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5103, allocations: 49.52 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5103, allocations: 3.938 kB / 0.9584 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.5105, allocations: 78.56 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.5105, allocations: 5.375 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.5105, allocations: 4.031 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.5105, allocations: 1.906 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.5106, allocations: 11.11 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5106, allocations: 1.812 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.5107, allocations: 9.281 kB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.5107, allocations: 1.812 kB / 0.9585 GB, free: 4.602 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.673e-05/0.5107, allocations: 115.5 kB / 0.9586 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.5107, allocations: 7.938 kB / 0.9586 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.5109, allocations: 86.19 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.511, allocations: 1.219 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.511, allocations: 0 / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.511, allocations: 7.984 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.836e-05/0.5111, allocations: 162.7 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5111, allocations: 1.188 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.5111, allocations: 13.52 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5112, allocations: 0 / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.5112, allocations: 5.406 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5112, allocations: 3.938 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5112, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.5114, allocations: 183.4 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.5114, allocations: 78.28 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.5114, allocations: 9.375 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.5115, allocations: 9.906 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.5115, allocations: 5.422 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.5115, allocations: 5.438 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.771e-05/0.5116, allocations: 82.41 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5116, allocations: 0 / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.5118, allocations: 4.625 kB / 0.9593 GB, free: 3.84 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.000311/0.5121, allocations: 0.717 MB / 0.96 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.5123, allocations: 47.78 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5123, allocations: 1.188 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.5124, allocations: 29.72 kB / 0.96 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.5126, allocations: 1.031 kB / 0.96 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.5129, allocations: 165.9 kB / 0.9602 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.395e-05/0.513, allocations: 0.6775 MB / 0.9609 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.5131, allocations: 6.078 kB / 0.9609 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.5131, allocations: 12.61 kB / 0.9609 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5131, allocations: 0 / 0.9609 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009292/0.5224, allocations: 1.097 MB / 0.9619 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.5226, allocations: 217.6 kB / 0.9622 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/1.991, allocations: 5.625 kB / 0.9622 GB, free: 1.496 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