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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0008705/0.0008704, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006212/0.006212, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003419, allocations: 8.812 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.274, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001163/0.2752, allocations: 1.009 MB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1439/0.4191, allocations: 143.8 MB / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.4192, allocations: 0 / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.4192, allocations: 0 / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.4193, allocations: 11.92 kB / 1.2 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.4197, allocations: 95.61 kB / 1.2 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.4198, allocations: 23.81 kB / 1.2 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.4199, allocations: 7.984 kB / 1.2 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.4199, allocations: 4 kB / 1.2 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.4199, allocations: 7.938 kB / 1.2 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.4199, allocations: 0 / 1.2 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.4203, allocations: 179.6 kB / 1.201 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.4204, allocations: 7.984 kB / 1.201 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.4204, allocations: 33.69 kB / 1.201 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.4206, allocations: 108 kB / 1.201 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4207, allocations: 0 / 1.201 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4207, allocations: 0 / 1.201 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.4207, allocations: 4 kB / 1.201 GB, free: 2.98 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.0002959/0.421, allocations: 347.4 kB / 1.201 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.421, allocations: 15.97 kB / 1.201 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.4211, allocations: 30.75 kB / 1.201 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005558/0.4216, allocations: 36.89 kB / 1.201 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4217, allocations: 176 kB / 1.201 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.4218, allocations: 4 kB / 1.201 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.4218, allocations: 0 / 1.201 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.422, allocations: 45.66 kB / 1.201 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.422, allocations: 3.984 kB / 1.201 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.422, allocations: 4 kB / 1.201 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.422, allocations: 0 / 1.201 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.4221, allocations: 19.97 kB / 1.201 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.4225, allocations: 248.9 kB / 1.202 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.4226, allocations: 30.52 kB / 1.202 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.4226, allocations: 8.922 kB / 1.202 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.4226, allocations: 0 / 1.202 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4226, allocations: 46.48 kB / 1.202 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.4226, allocations: 0 / 1.202 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000136/0.4228, allocations: 37.7 kB / 1.202 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.4228, allocations: 55.41 kB / 1.202 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4229, allocations: 113.7 kB / 1.202 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.423, allocations: 25.7 kB / 1.202 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.423, allocations: 92.03 kB / 1.202 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.423, allocations: 3.984 kB / 1.202 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.4231, allocations: 13.84 kB / 1.202 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.4232, allocations: 314.8 kB / 1.202 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.4232, allocations: 11.98 kB / 1.202 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.4233, allocations: 7.984 kB / 1.202 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.4234, allocations: 20.86 kB / 1.202 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4234, allocations: 3.984 kB / 1.202 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001852/0.4236, allocations: 61.58 kB / 1.202 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4236, allocations: 9.719 kB / 1.202 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4236, allocations: 3.938 kB / 1.202 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4236, allocations: 0 / 1.202 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.4237, allocations: 11.92 kB / 1.202 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.4238, allocations: 4 kB / 1.202 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.4239, allocations: 15.92 kB / 1.202 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4239, allocations: 0 / 1.202 GB, free: 0.9609 MB / 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 6.517e-05/0.424, allocations: 113.8 kB / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.424, allocations: 0 / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.424, allocations: 3.125 kB / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4241, allocations: 0 / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4241, allocations: 0 / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4241, allocations: 3.938 kB / 1.203 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.4242, allocations: 153.7 kB / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4242, allocations: 0 / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.4242, allocations: 11.98 kB / 1.203 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4243, allocations: 0 / 1.203 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4243, allocations: 4 kB / 1.203 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4243, allocations: 4 kB / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4243, allocations: 0 / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.717e-05/0.4244, allocations: 135.8 kB / 1.203 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.4244, allocations: 88.94 kB / 1.203 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4245, allocations: 8.031 kB / 1.203 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.4246, allocations: 7.984 kB / 1.203 GB, free: 356 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.4246, allocations: 7.922 kB / 1.203 GB, free: 348 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.4246, allocations: 4 kB / 1.203 GB, free: 344 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.4247, allocations: 87.27 kB / 1.203 GB, free: 256 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4247, allocations: 3.938 kB / 1.203 GB, free: 252 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002479/0.4249, allocations: 20 kB / 1.203 GB, free: 232 kB / 0.9512 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.0003832/0.4253, allocations: 0.6696 MB / 1.204 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.4255, allocations: 27.91 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4255, allocations: 0 / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.4255, allocations: 4 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4258, allocations: 12.78 kB / 1.204 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.4262, allocations: 168.2 kB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.4264, allocations: 0.677 MB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.4265, allocations: 8 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.4265, allocations: 15.42 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.4265, allocations: 0 / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009876/0.4364, allocations: 1.395 MB / 1.206 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.4366, allocations: 221.2 kB / 1.206 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.116, allocations: 0 / 1.206 GB, free: 13.08 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