Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_9_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.007911/0.007912, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001617/0.001617, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7672, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002173/0.7694, allocations: 1.282 MB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.9508, allocations: 147.6 MB / 1.233 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.9509, allocations: 0 / 1.233 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.951, allocations: 0 / 1.233 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.951, allocations: 5.312 kB / 1.233 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.9516, allocations: 121.4 kB / 1.233 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.9516, allocations: 13.91 kB / 1.233 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.9517, allocations: 5.078 kB / 1.233 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.9517, allocations: 15.8 kB / 1.233 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.9518, allocations: 11 kB / 1.233 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.9518, allocations: 1.188 kB / 1.233 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.9522, allocations: 170.5 kB / 1.233 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.9523, allocations: 4 kB / 1.233 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.9523, allocations: 8.438 kB / 1.233 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.9526, allocations: 112.3 kB / 1.233 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9526, allocations: 0 / 1.233 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9526, allocations: 0 / 1.233 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.9526, allocations: 3.938 kB / 1.233 GB, free: 5.266 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.0003363/0.9529, allocations: 349.9 kB / 1.234 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.953, allocations: 14.56 kB / 1.234 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.953, allocations: 30.75 kB / 1.234 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005498/0.9536, allocations: 38.14 kB / 1.234 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.9537, allocations: 169.1 kB / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.9537, allocations: 5.156 kB / 1.234 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.9537, allocations: 1.188 kB / 1.234 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.9539, allocations: 49.19 kB / 1.234 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.9539, allocations: 0 / 1.234 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.9539, allocations: 1.062 kB / 1.234 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9539, allocations: 0 / 1.234 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.9541, allocations: 19.27 kB / 1.234 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.9544, allocations: 254.6 kB / 1.234 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.9545, allocations: 28.27 kB / 1.234 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.9545, allocations: 8.266 kB / 1.234 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.9545, allocations: 0 / 1.234 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.9545, allocations: 31.72 kB / 1.234 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9546, allocations: 1.094 kB / 1.234 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.9547, allocations: 46.97 kB / 1.234 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.9547, allocations: 52.5 kB / 1.234 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.9549, allocations: 115.9 kB / 1.235 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.9549, allocations: 25.7 kB / 1.235 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.955, allocations: 93.27 kB / 1.235 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.955, allocations: 7.891 kB / 1.235 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.955, allocations: 18.23 kB / 1.235 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.9551, allocations: 320.1 kB / 1.235 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.9552, allocations: 13.77 kB / 1.235 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.9553, allocations: 10.11 kB / 1.235 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.667e-05/0.9553, allocations: 22.41 kB / 1.235 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9554, allocations: 1.125 kB / 1.235 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001986/0.9556, allocations: 63.56 kB / 1.235 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9556, allocations: 9.594 kB / 1.235 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9556, allocations: 3.938 kB / 1.235 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.9556, allocations: 0 / 1.235 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.9557, allocations: 10.58 kB / 1.235 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.9557, allocations: 0 / 1.235 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.9559, allocations: 10.19 kB / 1.235 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.9559, allocations: 5.891 kB / 1.235 GB, free: 3.414 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 (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 6.876e-05/0.956, allocations: 113.8 kB / 1.235 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.956, allocations: 1.219 kB / 1.235 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.956, allocations: 4.156 kB / 1.235 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.9561, allocations: 5.125 kB / 1.235 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9561, allocations: 0 / 1.235 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.9561, allocations: 3.938 kB / 1.235 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.9562, allocations: 153 kB / 1.235 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9562, allocations: 1.188 kB / 1.235 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.9563, allocations: 2.25 kB / 1.235 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9563, allocations: 4.953 kB / 1.235 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.9563, allocations: 4 kB / 1.235 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9563, allocations: 1.062 kB / 1.235 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9563, allocations: 0 / 1.235 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.9564, allocations: 141.6 kB / 1.236 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.9565, allocations: 82.22 kB / 1.236 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.9565, allocations: 0 / 1.236 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.9566, allocations: 2.062 kB / 1.236 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.9566, allocations: 9.219 kB / 1.236 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.9566, allocations: 1.188 kB / 1.236 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.346e-05/0.9567, allocations: 91.39 kB / 1.236 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9567, allocations: 0 / 1.236 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002536/0.957, allocations: 16.09 kB / 1.236 GB, free: 2.742 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.0003988/0.9574, allocations: 0.6801 MB / 1.236 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.9575, allocations: 23.67 kB / 1.236 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9575, allocations: 0 / 1.236 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.9575, allocations: 3.875 kB / 1.236 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.9579, allocations: 15.95 kB / 1.236 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.9584, allocations: 170 kB / 1.237 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.9586, allocations: 0.6768 MB / 1.237 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.376e-05/0.9587, allocations: 9.781 kB / 1.237 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.9587, allocations: 9.594 kB / 1.237 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.9587, allocations: 0 / 1.237 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.9768, allocations: 1.601 MB / 1.239 GB, free: 280 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/8.423, allocations: 9.047 kB / 1.239 GB, free: 272 kB / 0.9669 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches