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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004536/0.004536, allocations: 98.39 kB / 15.73 MB, free: 5.535 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.001056/0.001056, allocations: 185 kB / 16.67 MB, free: 5.473 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7753, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002375/0.7777, allocations: 1.4 MB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.7781, allocations: 197.9 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.7781, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.7782, allocations: 9.297 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.7782, allocations: 5.75 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.7784, allocations: 23.25 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.7785, allocations: 29.09 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.7786, allocations: 8.203 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.7787, allocations: 8.719 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.7787, allocations: 18.83 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.7787, allocations: 1.719 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.224e-05/0.7788, allocations: 25.16 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.7788, allocations: 2.453 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.7789, allocations: 10.84 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.779, allocations: 40.69 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.779, allocations: 0 / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.494e-06/0.779, allocations: 0.8438 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.779, allocations: 0 / 1.089 GB, free: 4.102 MB / 0.8575 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.0003724/0.7794, allocations: 339.1 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7794, allocations: 10.03 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.7795, allocations: 35.36 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.7796, allocations: 8.766 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.7796, allocations: 166.8 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.7797, allocations: 1.156 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.7797, allocations: 1.781 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.7798, allocations: 53.8 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7799, allocations: 7.938 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7799, allocations: 0.5156 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7799, allocations: 0.9062 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.7801, allocations: 33.33 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.7803, allocations: 243.2 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7805, allocations: 48.27 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/0.7805, allocations: 27.41 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.7806, allocations: 1.125 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.7806, allocations: 32.17 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7806, allocations: 3.938 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.7809, allocations: 88.19 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.781, allocations: 52.31 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.059e-05/0.781, allocations: 97.41 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.781, allocations: 25.7 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.7811, allocations: 86.31 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.7811, allocations: 5.891 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.7811, allocations: 17.14 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.7812, allocations: 316 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.7813, allocations: 22.67 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.7813, allocations: 17.53 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.7815, allocations: 37.62 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7815, allocations: 3.938 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002165/0.7817, allocations: 68.39 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7818, allocations: 5.406 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7818, allocations: 0 / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7818, allocations: 1.719 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.7819, allocations: 8.375 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.7819, allocations: 3.938 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.7819, allocations: 10.42 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.782, allocations: 1.484 kB / 1.091 GB, free: 2.34 MB / 0.8575 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.863e-05/0.782, allocations: 120.1 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.782, allocations: 1.5 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.7823, allocations: 74.59 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7823, allocations: 1.031 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7823, allocations: 1.125 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7823, allocations: 0.6562 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.7824, allocations: 161 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7825, allocations: 4.75 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.7825, allocations: 10.2 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7825, allocations: 0 / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.7826, allocations: 1.688 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7826, allocations: 3.938 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7826, allocations: 1.578 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.7828, allocations: 178.1 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.7828, allocations: 78.77 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.7828, allocations: 4.5 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.7829, allocations: 6.828 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.783, allocations: 6.609 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.783, allocations: 1.094 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.23e-05/0.783, allocations: 79.7 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.783, allocations: 0 / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002198/0.7832, allocations: 5.344 kB / 1.092 GB, free: 1.641 MB / 0.8575 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.0004567/0.7837, allocations: 0.7028 MB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.7839, allocations: 40.31 kB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7839, allocations: 5 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.784, allocations: 19.44 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.7843, allocations: 13 kB / 1.092 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.7847, allocations: 158.4 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.785, allocations: 0.6762 MB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.785, allocations: 5.922 kB / 1.093 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.7851, allocations: 13.2 kB / 1.093 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7851, allocations: 1.094 kB / 1.093 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/2.102, allocations: 1.356 MB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/15.92, allocations: 12.91 kB / 1.095 GB, free: 15.73 MB / 0.8731 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