Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_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.005061/0.005061, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001459/0.001459, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 71.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3197, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002585/0.3224, allocations: 1.399 MB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004758/0.3229, allocations: 211.4 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.3229, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.323, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.323, allocations: 3.938 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.3232, allocations: 31.89 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.3233, allocations: 19.94 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.3234, allocations: 11.98 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.3235, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.3235, allocations: 11.92 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3235, allocations: 4 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.3236, allocations: 23.98 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.3236, allocations: 7.984 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.3237, allocations: 11.92 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3238, allocations: 44 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3238, allocations: 4 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3238, allocations: 0 / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3238, allocations: 0 / 1.168 GB, free: 5.457 MB / 0.92 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.0004737/0.3243, allocations: 339.4 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3244, allocations: 12.03 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.3244, allocations: 30.75 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3245, allocations: 8.875 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3247, allocations: 168.4 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.3247, allocations: 4.375 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.3247, allocations: 384 / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3249, allocations: 50.23 kB / 1.168 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3249, allocations: 3.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3249, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3249, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.3251, allocations: 35.91 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.3254, allocations: 257 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3256, allocations: 34.5 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.3257, allocations: 28.89 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3257, allocations: 3.938 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3257, allocations: 34.56 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.3257, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.3261, allocations: 89.53 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3261, allocations: 51.41 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.3262, allocations: 97.86 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3262, allocations: 25.7 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.3263, allocations: 84.27 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.3263, allocations: 15.88 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.3263, allocations: 17.72 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3265, allocations: 310.8 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.3266, allocations: 11.98 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.3267, allocations: 19.97 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3268, allocations: 48.83 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3268, allocations: 3.938 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.327, allocations: 65.66 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3271, allocations: 4 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3271, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3271, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.3272, allocations: 11.98 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3272, allocations: 4.031 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.3272, allocations: 4 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3272, allocations: 0 / 1.17 GB, free: 3.383 MB / 0.92 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 8.665e-05/0.3273, allocations: 121.7 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.3274, allocations: 3.984 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3276, allocations: 80.72 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3276, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3276, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3276, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3278, allocations: 165.8 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3278, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.3279, allocations: 11.98 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3279, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3279, allocations: 3.984 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3279, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3279, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3282, allocations: 183.3 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.3282, allocations: 77.11 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3283, allocations: 0 / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3283, allocations: 11.98 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.3284, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3284, allocations: 4 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.3284, allocations: 83.27 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3285, allocations: 0 / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002043/0.3287, allocations: 8 kB / 1.17 GB, free: 2.543 MB / 0.92 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.0005308/0.3292, allocations: 0.7007 MB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3294, allocations: 43.89 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3294, allocations: 0 / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.3295, allocations: 19.98 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3298, allocations: 10.02 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.3302, allocations: 144.2 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.3305, allocations: 0.6845 MB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.3306, allocations: 4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.3306, allocations: 7.438 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3306, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9214/1.252, allocations: 1.378 MB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.559/10.81, allocations: 8.438 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches