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.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 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.001811/0.001812, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.478/2.478, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5713, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002379/0.5737, allocations: 1.293 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.7103, allocations: 147.6 MB / 1.163 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.7104, allocations: 4 kB / 1.163 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.7104, allocations: 3.938 kB / 1.163 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.7105, allocations: 11.92 kB / 1.163 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.7109, allocations: 107.5 kB / 1.163 GB, free: 12.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.711, allocations: 27.86 kB / 1.163 GB, free: 12.81 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.711, allocations: 0 / 1.163 GB, free: 12.81 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.7111, allocations: 7.938 kB / 1.163 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.7111, allocations: 7.984 kB / 1.163 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.7111, allocations: 0 / 1.163 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.7115, allocations: 179.6 kB / 1.163 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.7116, allocations: 4 kB / 1.163 GB, free: 12.61 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.7116, allocations: 11.92 kB / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.7118, allocations: 110 kB / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7118, allocations: 4 kB / 1.163 GB, free: 12.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7118, allocations: 0 / 1.163 GB, free: 12.49 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7118, allocations: 0 / 1.163 GB, free: 12.49 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.0002979/0.7121, allocations: 351.4 kB / 1.164 GB, free: 12.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7122, allocations: 15.98 kB / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.7122, allocations: 34.75 kB / 1.164 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/0.7127, allocations: 36.89 kB / 1.164 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.7129, allocations: 172 kB / 1.164 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.7129, allocations: 4 kB / 1.164 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.7129, allocations: 0 / 1.164 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.713, allocations: 49.66 kB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7131, allocations: 3.938 kB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.7131, allocations: 7.938 kB / 1.164 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.7131, allocations: 3.984 kB / 1.164 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.7132, allocations: 19.97 kB / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.7135, allocations: 248.9 kB / 1.164 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.7136, allocations: 22.58 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.7136, allocations: 16.92 kB / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.7136, allocations: 0 / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.7137, allocations: 38.48 kB / 1.164 GB, free: 11.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7137, allocations: 0 / 1.164 GB, free: 11.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.7138, allocations: 41.7 kB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.7138, allocations: 51.41 kB / 1.164 GB, free: 11.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.714, allocations: 113.9 kB / 1.164 GB, free: 11.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.714, allocations: 25.7 kB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.714, allocations: 92.06 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.714, allocations: 3.906 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.7141, allocations: 21.7 kB / 1.165 GB, free: 10.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.7142, allocations: 310.8 kB / 1.165 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.7142, allocations: 11.98 kB / 1.165 GB, free: 10.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.7143, allocations: 15.98 kB / 1.165 GB, free: 10.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.732e-05/0.7144, allocations: 28.78 kB / 1.165 GB, free: 10.56 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7144, allocations: 0 / 1.165 GB, free: 10.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001807/0.7146, allocations: 53.58 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7146, allocations: 4 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7146, allocations: 8 kB / 1.165 GB, free: 10.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7147, allocations: 4 kB / 1.165 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7148, allocations: 11.98 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.7148, allocations: 3.938 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.7149, allocations: 15.92 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.7149, allocations: 0 / 1.165 GB, free: 10.45 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 5.882e-05/0.715, allocations: 111.5 kB / 1.165 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.715, allocations: 4 kB / 1.165 GB, free: 10.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.7151, allocations: 11.12 kB / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.7151, allocations: 0 / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7151, allocations: 0 / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7151, allocations: 3.938 kB / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.7152, allocations: 149.7 kB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.7152, allocations: 7.922 kB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.7153, allocations: 4 kB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7153, allocations: 0 / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.7153, allocations: 0 / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7153, allocations: 0 / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7153, allocations: 0 / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.345e-05/0.7154, allocations: 139.5 kB / 1.165 GB, free: 9.957 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.7154, allocations: 89 kB / 1.166 GB, free: 9.852 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7155, allocations: 336 / 1.166 GB, free: 9.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.7156, allocations: 4 kB / 1.166 GB, free: 9.848 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.7156, allocations: 3.938 kB / 1.166 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.7156, allocations: 3.938 kB / 1.166 GB, free: 9.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.545e-05/0.7157, allocations: 99.28 kB / 1.166 GB, free: 9.742 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7157, allocations: 0 / 1.166 GB, free: 9.742 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002356/0.7159, allocations: 12 kB / 1.166 GB, free: 9.73 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.0003599/0.7163, allocations: 0.6774 MB / 1.166 GB, free: 9.027 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.7164, allocations: 27.95 kB / 1.166 GB, free: 9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7165, allocations: 0 / 1.166 GB, free: 9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.7165, allocations: 4 kB / 1.166 GB, free: 8.996 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.7168, allocations: 19.02 kB / 1.166 GB, free: 8.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.7172, allocations: 152.8 kB / 1.167 GB, free: 8.793 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.7174, allocations: 0.6768 MB / 1.167 GB, free: 8.09 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.7174, allocations: 11.94 kB / 1.167 GB, free: 8.078 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.7175, allocations: 11.42 kB / 1.167 GB, free: 8.066 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7175, allocations: 0 / 1.167 GB, free: 8.066 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.262/1.979, allocations: 1.567 MB / 1.169 GB, free: 6.594 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.53, allocations: 2.234 kB / 1.169 GB, free: 6.594 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