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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008166/0.008166, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001893/0.001893, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.552/1.552, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 67.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2586, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001985/0.2606, allocations: 1.293 MB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6341/0.8947, allocations: 147.6 MB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.8948, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.8948, allocations: 0.7969 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.8949, allocations: 8.594 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.8953, allocations: 121.2 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.8953, allocations: 24.12 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.8954, allocations: 3.281 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.8954, allocations: 4.391 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.358e-05/0.8955, allocations: 8.781 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.8955, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003718/0.8958, allocations: 175.3 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.8959, allocations: 0.8438 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.8959, allocations: 15.19 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.8961, allocations: 114.5 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.8961, allocations: 0 / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8961, allocations: 0 / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.8961, allocations: 0 / 1.312 GB, free: 12.33 MB / 1.014 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.0003368/0.8965, allocations: 353.4 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.8965, allocations: 9.531 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.8965, allocations: 36.34 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.897, allocations: 42.88 kB / 1.312 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.8972, allocations: 163.3 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.8972, allocations: 3.938 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.8972, allocations: 1.531 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.8973, allocations: 47.8 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.8973, allocations: 0 / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.8974, allocations: 0 / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.8974, allocations: 5.281 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.8975, allocations: 23.89 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.8978, allocations: 251 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.8979, allocations: 25.59 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.8979, allocations: 13.19 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.8979, allocations: 5.516 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.898, allocations: 34.2 kB / 1.313 GB, free: 11.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.898, allocations: 0 / 1.313 GB, free: 11.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.8981, allocations: 44.72 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.8981, allocations: 53.55 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.8983, allocations: 111.3 kB / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.8983, allocations: 29.83 kB / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.8983, allocations: 85.8 kB / 1.313 GB, free: 11.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.8984, allocations: 13.11 kB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.8984, allocations: 18.39 kB / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8985, allocations: 319.7 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.8986, allocations: 10.34 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.8987, allocations: 8.312 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.8987, allocations: 29.8 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8988, allocations: 0 / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001769/0.8989, allocations: 56.53 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.899, allocations: 5.797 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.899, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.899, allocations: 1.031 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.8991, allocations: 18.19 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.8991, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.8992, allocations: 11.92 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.8992, allocations: 1.938 kB / 1.314 GB, free: 10.62 MB / 1.014 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.653e-05/0.8993, allocations: 108.5 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.8993, allocations: 2.359 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.8994, allocations: 8.609 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8994, allocations: 0 / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.8994, allocations: 4 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8994, allocations: 6.031 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.8995, allocations: 155.5 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8995, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.8996, allocations: 13.28 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.8996, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.8996, allocations: 0 / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.8996, allocations: 1.594 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8996, allocations: 0.6094 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.8997, allocations: 137.7 kB / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.8998, allocations: 79.03 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.8998, allocations: 5.922 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.8999, allocations: 3.203 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.8999, allocations: 1.922 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.8999, allocations: 7.875 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.766e-05/0.9, allocations: 91.7 kB / 1.314 GB, free: 9.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9, allocations: 5.375 kB / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002238/0.9002, allocations: 14.88 kB / 1.314 GB, free: 9.973 MB / 1.014 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.0004113/0.9006, allocations: 0.6804 MB / 1.315 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.9008, allocations: 25.28 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.9008, allocations: 0 / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.9008, allocations: 12.11 kB / 1.315 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.9011, allocations: 13.77 kB / 1.315 GB, free: 9.297 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.9015, allocations: 150 kB / 1.315 GB, free: 9.148 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.9017, allocations: 0.6757 MB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.476e-05/0.9018, allocations: 11.61 kB / 1.316 GB, free: 8.445 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.9018, allocations: 13.77 kB / 1.316 GB, free: 8.434 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/0.9018, allocations: 0 / 1.316 GB, free: 8.434 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.278/2.18, allocations: 1.588 MB / 1.318 GB, free: 8.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/15.12, allocations: 16.55 kB / 1.318 GB, free: 8.059 MB / 1.014 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=400 --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