Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_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.007358/0.007358, allocations: 100.8 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.001861/0.001861, allocations: 194.5 kB / 16.67 MB, free: 5.965 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 64.12 kB / 1.083 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7328, allocations: 162.3 MB / 1.242 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002391/0.7353, allocations: 1.41 MB / 1.243 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.7357, allocations: 199.5 kB / 1.243 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.7358, allocations: 0 / 1.243 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.7358, allocations: 7.938 kB / 1.243 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.7358, allocations: 0 / 1.243 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.736, allocations: 27.83 kB / 1.243 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.029e-05/0.7361, allocations: 31.92 kB / 1.243 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.7362, allocations: 0 / 1.243 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.7362, allocations: 11.94 kB / 1.243 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.7363, allocations: 7.984 kB / 1.243 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.7363, allocations: 4 kB / 1.243 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.7364, allocations: 23.98 kB / 1.244 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.7364, allocations: 11.92 kB / 1.244 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.7364, allocations: 11.98 kB / 1.244 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.7366, allocations: 32.89 kB / 1.244 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7366, allocations: 4 kB / 1.244 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7366, allocations: 0 / 1.244 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7366, allocations: 0 / 1.244 GB, free: 15.39 MB / 0.9669 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.0004221/0.737, allocations: 350 kB / 1.244 GB, free: 15 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.7371, allocations: 8.031 kB / 1.244 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.7371, allocations: 34.75 kB / 1.244 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.7372, allocations: 12.88 kB / 1.244 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.7373, allocations: 160.4 kB / 1.244 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.7373, allocations: 8.375 kB / 1.244 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.7374, allocations: 4.375 kB / 1.244 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7375, allocations: 54.17 kB / 1.244 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7375, allocations: 7.875 kB / 1.244 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.7376, allocations: 0 / 1.244 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7376, allocations: 0 / 1.244 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.7377, allocations: 39.94 kB / 1.244 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.7381, allocations: 245 kB / 1.244 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.7382, allocations: 42.44 kB / 1.244 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.7383, allocations: 24.89 kB / 1.245 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.7383, allocations: 0 / 1.245 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7383, allocations: 30.56 kB / 1.245 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7384, allocations: 4 kB / 1.245 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003424/0.7387, allocations: 81.64 kB / 1.245 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.7387, allocations: 51.41 kB / 1.245 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.7388, allocations: 101.8 kB / 1.245 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7388, allocations: 25.7 kB / 1.245 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.7389, allocations: 89.97 kB / 1.245 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.7389, allocations: 16.11 kB / 1.245 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.739, allocations: 9.719 kB / 1.245 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7391, allocations: 314.8 kB / 1.245 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.7392, allocations: 15.98 kB / 1.245 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.7393, allocations: 15.97 kB / 1.245 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.7394, allocations: 40.89 kB / 1.245 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7394, allocations: 3.938 kB / 1.245 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.7396, allocations: 73.61 kB / 1.245 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7396, allocations: 5.875 kB / 1.245 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7397, allocations: 0 / 1.245 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7397, allocations: 0 / 1.245 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.7398, allocations: 15.92 kB / 1.245 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7398, allocations: 4.031 kB / 1.245 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.7398, allocations: 7.938 kB / 1.245 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.7398, allocations: 0 / 1.245 GB, free: 13.3 MB / 0.9669 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.57e-05/0.7399, allocations: 114.3 kB / 1.245 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.7399, allocations: 4 kB / 1.245 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.7402, allocations: 72.78 kB / 1.246 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7402, allocations: 4 kB / 1.246 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7402, allocations: 3.938 kB / 1.246 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7402, allocations: 3.984 kB / 1.246 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.7404, allocations: 161.5 kB / 1.246 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7404, allocations: 0 / 1.246 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.7405, allocations: 19.92 kB / 1.246 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7405, allocations: 0 / 1.246 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.7405, allocations: 4 kB / 1.246 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7405, allocations: 4 kB / 1.246 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7405, allocations: 0 / 1.246 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.7408, allocations: 171.4 kB / 1.246 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.7408, allocations: 81.11 kB / 1.246 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.7408, allocations: 3.984 kB / 1.246 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.7409, allocations: 4 kB / 1.246 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.741, allocations: 3.984 kB / 1.246 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.741, allocations: 0 / 1.246 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.741, allocations: 87.56 kB / 1.246 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.741, allocations: 0 / 1.246 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002179/0.7412, allocations: 4 kB / 1.246 GB, free: 12.48 MB / 0.9669 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.0005304/0.7418, allocations: 0.7086 MB / 1.247 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.742, allocations: 35.97 kB / 1.247 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.742, allocations: 0 / 1.247 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.7421, allocations: 27.91 kB / 1.247 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.7423, allocations: 4 kB / 1.247 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.7428, allocations: 146.7 kB / 1.247 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.743, allocations: 0.6807 MB / 1.248 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.7431, allocations: 0 / 1.248 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.7431, allocations: 11.44 kB / 1.248 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.7431, allocations: 0 / 1.248 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2896/1.033, allocations: 1.37 MB / 1.249 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/9.246, allocations: 7.938 kB / 1.249 GB, free: 9.535 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches