Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_10_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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00121/0.00121, allocations: 192 kB / 16.14 MB, free: 6.645 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 0.8687 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5659, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002435/0.5684, allocations: 1.36 MB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.7094, allocations: 145.3 MB / 1.16 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.7094, allocations: 0 / 1.16 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.7095, allocations: 0 / 1.16 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.7095, allocations: 11.92 kB / 1.16 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.7099, allocations: 107.5 kB / 1.16 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.71, allocations: 19.86 kB / 1.16 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.7101, allocations: 0 / 1.16 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.7101, allocations: 7.938 kB / 1.16 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.7101, allocations: 11.98 kB / 1.16 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.7101, allocations: 0 / 1.16 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.7106, allocations: 179.7 kB / 1.16 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.7106, allocations: 0 / 1.16 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.7106, allocations: 7.938 kB / 1.16 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.7109, allocations: 125.9 kB / 1.16 GB, free: 15.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7109, allocations: 0 / 1.16 GB, free: 15.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7109, allocations: 0 / 1.16 GB, free: 15.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7109, allocations: 4 kB / 1.16 GB, free: 15.09 MB / 0.92 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.0003453/0.7112, allocations: 345.8 kB / 1.161 GB, free: 14.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7113, allocations: 12.03 kB / 1.161 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.7113, allocations: 30.75 kB / 1.161 GB, free: 14.65 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006084/0.7119, allocations: 36.89 kB / 1.161 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.7121, allocations: 172 kB / 1.161 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.7121, allocations: 0 / 1.161 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.7121, allocations: 4 kB / 1.161 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.7123, allocations: 49.61 kB / 1.161 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.7123, allocations: 0 / 1.161 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7123, allocations: 0 / 1.161 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7123, allocations: 0 / 1.161 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.7125, allocations: 27.91 kB / 1.161 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.7128, allocations: 248.9 kB / 1.161 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.7129, allocations: 26.56 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.7129, allocations: 12.92 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.7129, allocations: 4 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.713, allocations: 34.5 kB / 1.161 GB, free: 13.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.713, allocations: 0 / 1.161 GB, free: 13.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.7131, allocations: 37.7 kB / 1.161 GB, free: 13.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.7132, allocations: 55.41 kB / 1.161 GB, free: 13.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.7133, allocations: 113.8 kB / 1.162 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.7133, allocations: 25.83 kB / 1.162 GB, free: 13.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.7134, allocations: 91.98 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.7134, allocations: 8 kB / 1.162 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.7134, allocations: 21.61 kB / 1.162 GB, free: 13.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7136, allocations: 310.8 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.7136, allocations: 11.98 kB / 1.162 GB, free: 13.22 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.7137, allocations: 15.92 kB / 1.162 GB, free: 13.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.7138, allocations: 24.84 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7138, allocations: 3.938 kB / 1.162 GB, free: 13.17 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/0.714, allocations: 61.7 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.714, allocations: 4 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.714, allocations: 0 / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.714, allocations: 0 / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.7142, allocations: 11.98 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7142, allocations: 4 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.7143, allocations: 11.92 kB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.7144, allocations: 4 kB / 1.162 GB, free: 13.07 MB / 0.92 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 7.362e-05/0.7144, allocations: 110.3 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.7145, allocations: 0 / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.7145, allocations: 15.11 kB / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.7145, allocations: 0 / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7145, allocations: 0 / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7145, allocations: 7.938 kB / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.7147, allocations: 149.7 kB / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7147, allocations: 0 / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.7147, allocations: 4 kB / 1.162 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7147, allocations: 3.938 kB / 1.162 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7147, allocations: 8 kB / 1.162 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.7148, allocations: 0 / 1.162 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7148, allocations: 0 / 1.162 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.7149, allocations: 143.5 kB / 1.163 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.7149, allocations: 81.02 kB / 1.163 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.715, allocations: 0 / 1.163 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.7151, allocations: 4 kB / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.7151, allocations: 11.86 kB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.7151, allocations: 0 / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.714e-05/0.7152, allocations: 91.27 kB / 1.163 GB, free: 12.36 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7152, allocations: 0 / 1.163 GB, free: 12.36 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002505/0.7155, allocations: 16.03 kB / 1.163 GB, free: 12.35 MB / 0.92 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.0004419/0.7159, allocations: 0.6774 MB / 1.163 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.716, allocations: 24 kB / 1.163 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7161, allocations: 3.938 kB / 1.163 GB, free: 11.62 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.7161, allocations: 4 kB / 1.163 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.7164, allocations: 11.94 kB / 1.163 GB, free: 11.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.7168, allocations: 148 kB / 1.164 GB, free: 11.42 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.7171, allocations: 0.6808 MB / 1.164 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.646e-05/0.7172, allocations: 8.047 kB / 1.164 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.7172, allocations: 15.44 kB / 1.164 GB, free: 10.69 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.7172, allocations: 0 / 1.164 GB, free: 10.69 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.7284, allocations: 1.433 MB / 1.166 GB, free: 9.379 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/0.7287, allocations: 225 kB / 1.166 GB, free: 9.117 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.458, allocations: 2.953 kB / 1.166 GB, free: 9.117 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches