Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 70.72 kB / 0.8992 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2755, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002394/0.2779, allocations: 1.28 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.4335, allocations: 147.7 MB / 1.198 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.4336, allocations: 0 / 1.198 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.4336, allocations: 7.922 kB / 1.198 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.4337, allocations: 11.92 kB / 1.198 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.4345, allocations: 111.5 kB / 1.198 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.4346, allocations: 19.86 kB / 1.198 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.4347, allocations: 4 kB / 1.198 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.4348, allocations: 11.94 kB / 1.199 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.4348, allocations: 8 kB / 1.199 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.4349, allocations: 0 / 1.199 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006649/0.4355, allocations: 175.7 kB / 1.199 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.4356, allocations: 0 / 1.199 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.4356, allocations: 15.88 kB / 1.199 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.436, allocations: 108 kB / 1.199 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.436, allocations: 0 / 1.199 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.522e-06/0.436, allocations: 0 / 1.199 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.436, allocations: 0 / 1.199 GB, free: 2.246 MB / 0.9512 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.0004211/0.4364, allocations: 355.5 kB / 1.199 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4365, allocations: 16.56 kB / 1.199 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.4365, allocations: 30.75 kB / 1.199 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.4374, allocations: 36.8 kB / 1.199 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.4375, allocations: 164.1 kB / 1.199 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4375, allocations: 0 / 1.199 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.4376, allocations: 15.98 kB / 1.199 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.4378, allocations: 45.61 kB / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4378, allocations: 0 / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4379, allocations: 3.938 kB / 1.199 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4379, allocations: 0 / 1.199 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.4381, allocations: 27.95 kB / 1.199 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.4385, allocations: 248.9 kB / 1.2 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.4386, allocations: 26.58 kB / 1.2 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.4387, allocations: 8.844 kB / 1.2 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.4387, allocations: 4.062 kB / 1.2 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4387, allocations: 34.5 kB / 1.2 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4388, allocations: 0 / 1.2 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.439, allocations: 41.7 kB / 1.2 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.439, allocations: 55.41 kB / 1.2 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4392, allocations: 113.8 kB / 1.2 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4393, allocations: 25.7 kB / 1.2 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.4393, allocations: 88.05 kB / 1.2 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.4393, allocations: 7.906 kB / 1.2 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.4394, allocations: 17.7 kB / 1.2 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4396, allocations: 319 kB / 1.2 GB, free: 380 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4397, allocations: 7.984 kB / 1.2 GB, free: 372 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.945e-05/0.4398, allocations: 15.92 kB / 1.2 GB, free: 356 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.44, allocations: 20.84 kB / 1.2 GB, free: 332 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.44, allocations: 0 / 1.2 GB, free: 332 kB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003028/0.4403, allocations: 61.67 kB / 1.201 GB, free: 264 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4403, allocations: 5.562 kB / 1.201 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4403, allocations: 0 / 1.201 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4403, allocations: 0 / 1.201 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.4405, allocations: 11.98 kB / 1.201 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4405, allocations: 0 / 1.201 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.4408, allocations: 11.92 kB / 1.201 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.4408, allocations: 4 kB / 1.201 GB, free: 232 kB / 0.9512 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 (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 prepare postOptimizeDAE: time 9.887e-05/0.4409, allocations: 119.3 kB / 1.201 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.4409, allocations: 0 / 1.201 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.441, allocations: 7.125 kB / 1.201 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.441, allocations: 3.984 kB / 1.201 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.441, allocations: 0 / 1.201 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.441, allocations: 7.875 kB / 1.201 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.4413, allocations: 153.7 kB / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4413, allocations: 3.938 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.4413, allocations: 4 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.4414, allocations: 4 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4414, allocations: 4 kB / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4414, allocations: 0 / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4414, allocations: 0 / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.4415, allocations: 143.4 kB / 1.201 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.4416, allocations: 81.05 kB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.4417, allocations: 0 / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4418, allocations: 8.031 kB / 1.201 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4419, allocations: 8.203 kB / 1.201 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4419, allocations: 0 / 1.201 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00014/0.442, allocations: 99.23 kB / 1.201 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.91e-07/0.442, allocations: 0 / 1.201 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004447/0.4425, allocations: 16 kB / 1.201 GB, free: 15.49 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 (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.0005708/0.4431, allocations: 0.6813 MB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.4433, allocations: 19.92 kB / 1.202 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4433, allocations: 0 / 1.202 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.4433, allocations: 11.98 kB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.4438, allocations: 12.03 kB / 1.202 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006072/0.4445, allocations: 152.9 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.4448, allocations: 0.6729 MB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.4449, allocations: 11.94 kB / 1.203 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.445, allocations: 11.42 kB / 1.203 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of SimCode: time 5.2e-07/0.445, allocations: 0 / 1.203 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.4662, allocations: 1.575 MB / 1.204 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.465, allocations: 5.609 kB / 1.204 GB, free: 12.37 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches