Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.01083/0.01083, allocations: 104.5 kB / 15.74 MB, free: 5.949 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.001732/0.001732, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.37/1.37, 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 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9278, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002512/0.9304, allocations: 1.283 MB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.9314, allocations: 0.5802 MB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.9314, allocations: 0 / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.9314, allocations: 0 / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.9315, allocations: 3.938 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.9319, allocations: 99.48 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.932, allocations: 19.94 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.932, allocations: 3.938 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.932, allocations: 7.938 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.9321, allocations: 7.984 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.9321, allocations: 4 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.9324, allocations: 143.8 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.9324, allocations: 0 / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.9324, allocations: 7.938 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.9327, allocations: 90.16 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9327, allocations: 3.938 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9327, allocations: 0 / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.9327, allocations: 0 / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003719/0.9331, allocations: 343.5 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9331, allocations: 16.03 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.9331, allocations: 34.73 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.9336, allocations: 32.75 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.9337, allocations: 160.4 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.9337, allocations: 384 / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.9338, allocations: 4.375 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.9339, allocations: 54.22 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9339, allocations: 3.938 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.934, allocations: 4 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.934, allocations: 0 / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.9341, allocations: 23.97 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.9343, allocations: 153.7 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.9344, allocations: 46.53 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.9345, allocations: 20.84 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.9345, allocations: 0 / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.9346, allocations: 30.56 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.9346, allocations: 4 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002986/0.9349, allocations: 73.59 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.9349, allocations: 59.34 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.935, allocations: 97.84 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.935, allocations: 25.7 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.9351, allocations: 84.14 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.9351, allocations: 7.891 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.9351, allocations: 25.83 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.9352, allocations: 310.8 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.9353, allocations: 15.92 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.9354, allocations: 11.98 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.9355, allocations: 32.91 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9355, allocations: 0 / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001745/0.9357, allocations: 57.67 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9357, allocations: 13.75 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.9357, allocations: 192 / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.9358, allocations: 0 / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.9359, allocations: 11.98 kB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.9359, allocations: 4.031 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.936, allocations: 3.984 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.936, allocations: 7.984 kB / 1.211 GB, free: 9.328 MB / 0.9356 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 6.597e-05/0.936, allocations: 109.8 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.9361, allocations: 7.844 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.9361, allocations: 7.125 kB / 1.211 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9361, allocations: 0 / 1.211 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9361, allocations: 4 kB / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9361, allocations: 0 / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.9362, allocations: 153.7 kB / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9362, allocations: 0 / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.9363, allocations: 7.984 kB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9363, allocations: 3.938 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.9364, allocations: 7.984 kB / 1.211 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9364, allocations: 0 / 1.211 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9364, allocations: 0 / 1.211 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.9366, allocations: 89.05 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.9366, allocations: 81.09 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.9367, allocations: 7.875 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.9367, allocations: 8 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.9368, allocations: 0 / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.9368, allocations: 3.984 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.369e-05/0.9369, allocations: 87.31 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9369, allocations: 0 / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002159/0.9371, allocations: 8 kB / 1.212 GB, free: 8.656 MB / 0.9356 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.0005893/0.9377, allocations: 0.6397 MB / 1.212 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.9379, allocations: 31.91 kB / 1.212 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.9379, allocations: 0 / 1.212 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.938, allocations: 19.98 kB / 1.212 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.9382, allocations: 4.109 kB / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.9387, allocations: 156.2 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.9389, allocations: 0.669 MB / 1.213 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.939, allocations: 8 kB / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.939, allocations: 19.36 kB / 1.213 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.939, allocations: 4 kB / 1.213 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.9558, allocations: 1.583 MB / 1.215 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/8.534, allocations: 13.88 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches