Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.004498/0.004498, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001272/0.001272, allocations: 201.1 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 71.83 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3326, allocations: 162.3 MB / 1.242 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002397/0.335, allocations: 1.407 MB / 1.243 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009514/0.336, allocations: 0.5842 MB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.336, allocations: 0 / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.336, allocations: 7.938 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.3361, allocations: 7.922 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.3364, allocations: 99.56 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.3365, allocations: 27.86 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.3366, allocations: 4 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.3366, allocations: 11.98 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.3367, allocations: 11.92 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3367, allocations: 4 kB / 1.244 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.337, allocations: 143.8 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.337, allocations: 11.92 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.337, allocations: 7.938 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3373, allocations: 103.7 kB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3373, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3373, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3373, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 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.0004524/0.3377, allocations: 363.2 kB / 1.245 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3378, allocations: 12.03 kB / 1.245 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.3378, allocations: 34.75 kB / 1.245 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.3382, allocations: 32.86 kB / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3384, allocations: 164.4 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3384, allocations: 4.359 kB / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3384, allocations: 384 / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3386, allocations: 74.14 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3386, allocations: 3.938 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3387, allocations: 3.938 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3387, allocations: 0 / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.3389, allocations: 51.94 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.3394, allocations: 272.9 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3396, allocations: 66.41 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3398, allocations: 32.91 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3398, allocations: 3.984 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3398, allocations: 30.56 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3398, allocations: 3.938 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0005061/0.3404, allocations: 113.7 kB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3404, allocations: 51.41 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.3405, allocations: 105.8 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3405, allocations: 25.7 kB / 1.246 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.3406, allocations: 84.09 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3406, allocations: 7.891 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3406, allocations: 25.64 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3408, allocations: 314.9 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3409, allocations: 31.97 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.341, allocations: 23.97 kB / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3413, allocations: 56.88 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3413, allocations: 3.938 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003079/0.3416, allocations: 89.62 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3416, allocations: 8 kB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3416, allocations: 0 / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3417, allocations: 4.031 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3418, allocations: 11.98 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3418, allocations: 3.938 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.3419, allocations: 7.984 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3419, allocations: 4 kB / 1.246 GB, free: 5.117 MB / 0.9981 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.951e-05/0.342, allocations: 113.8 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.342, allocations: 0 / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.3421, allocations: 15.12 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3421, allocations: 0 / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3421, allocations: 0 / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3421, allocations: 0 / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3423, allocations: 161.6 kB / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3423, allocations: 4 kB / 1.247 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3424, allocations: 15.97 kB / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3424, allocations: 0 / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3424, allocations: 7.938 kB / 1.247 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3424, allocations: 0 / 1.247 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3424, allocations: 3.984 kB / 1.247 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.3428, allocations: 191.3 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.3429, allocations: 89.08 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3429, allocations: 0 / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.343, allocations: 7.984 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3431, allocations: 8.188 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.3431, allocations: 0 / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.3431, allocations: 87.25 kB / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3431, allocations: 0 / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002355/0.3434, allocations: 11.94 kB / 1.247 GB, free: 4.32 MB / 0.9981 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 (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 Backend phase and start with SimCode phase: time 0.0007112/0.3441, allocations: 0.7246 MB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.3444, allocations: 59.91 kB / 1.248 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3444, allocations: 4 kB / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3446, allocations: 35.95 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3448, allocations: 1.094 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.3454, allocations: 168.2 kB / 1.248 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3457, allocations: 0.6729 MB / 1.249 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.687e-05/0.3458, allocations: 11.94 kB / 1.249 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.3458, allocations: 15.42 kB / 1.249 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.3458, allocations: 4 kB / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/0.4199, allocations: 1.663 MB / 1.25 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.223, allocations: 12.06 kB / 1.25 GB, free: 1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches