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.005897/0.005897, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001362/0.001362, allocations: 190.4 kB / 16.67 MB, free: 5.914 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.648/2.648, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 59.91 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2983, allocations: 151.6 MB / 1.166 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002589/0.3009, allocations: 1.404 MB / 1.168 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.3014, allocations: 199.4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.3015, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.3015, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.3015, allocations: 11.92 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.3018, allocations: 19.92 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.477e-05/0.3018, allocations: 27.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.3019, allocations: 7.984 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.302, allocations: 11.98 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.302, allocations: 15.92 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3021, allocations: 7.938 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.3021, allocations: 23.98 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.3022, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.3022, allocations: 7.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3023, allocations: 50.62 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3023, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3024, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3024, allocations: 4 kB / 1.168 GB, free: 5.613 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.0004104/0.3028, allocations: 344 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3028, allocations: 8.75 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.3029, allocations: 30.75 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.303, allocations: 8.938 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3031, allocations: 164.6 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3031, allocations: 4.375 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.3031, allocations: 384 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3033, allocations: 54.23 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3033, allocations: 3.938 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3033, allocations: 3.984 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3033, allocations: 0 / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3035, allocations: 35.91 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3038, allocations: 245 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.304, allocations: 42.5 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.3041, allocations: 20.91 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3041, allocations: 4 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3041, allocations: 34.5 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.3041, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.3045, allocations: 93.48 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3045, allocations: 51.41 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.3046, allocations: 97.84 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.3046, allocations: 25.7 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.3046, allocations: 84.14 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3047, allocations: 7.906 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.3047, allocations: 13.84 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3048, allocations: 318.8 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.717e-05/0.3049, allocations: 15.98 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.305, allocations: 15.98 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3051, allocations: 44.75 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3052, allocations: 8 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.3053, allocations: 61.67 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3054, allocations: 4 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3054, allocations: 7.969 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3054, allocations: 3.938 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.3055, allocations: 8 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3055, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.3056, allocations: 12.02 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3056, allocations: 0 / 1.17 GB, free: 3.539 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 7.671e-05/0.3056, allocations: 113.8 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3057, allocations: 4 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.3059, allocations: 80.89 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3059, allocations: 48 / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.306, allocations: 7.984 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.306, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3061, allocations: 161.6 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3061, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.3062, allocations: 8 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3062, allocations: 0 / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3062, allocations: 0 / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3062, allocations: 7.984 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3062, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.3065, allocations: 179.3 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.3065, allocations: 81.05 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3066, allocations: 4 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.3066, allocations: 7.984 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3067, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3067, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.3068, allocations: 79.28 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3068, allocations: 4 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002251/0.307, allocations: 4 kB / 1.17 GB, free: 2.707 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.0006088/0.3076, allocations: 0.7067 MB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3079, allocations: 47.89 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3079, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.308, allocations: 15.98 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3083, allocations: 8 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.3088, allocations: 148.1 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3092, allocations: 0.6846 MB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.3092, allocations: 4 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.3092, allocations: 11.44 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.3092, allocations: 0 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.3296, allocations: 1.378 MB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.845, allocations: 5.391 kB / 1.173 GB, free: 15.75 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=50 --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