Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.006417/0.006417, allocations: 97.64 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.001435/0.001435, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.763/2.763, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3004, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002956/0.3034, allocations: 1.669 MB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.3041, allocations: 406.6 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.3042, allocations: 8 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.95e-05/0.3043, allocations: 7.875 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.3044, allocations: 19.78 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3048, allocations: 123.2 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.305, allocations: 103.6 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3052, allocations: 48.23 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.3052, allocations: 39.86 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.3053, allocations: 39.84 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3054, allocations: 8 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3055, allocations: 59.95 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.3056, allocations: 27.89 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.3056, allocations: 47.73 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3059, allocations: 139.4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3059, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3059, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3059, allocations: 0 / 1.169 GB, free: 4.551 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006664/0.3066, allocations: 415 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3066, allocations: 8.031 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.159e-05/0.3067, allocations: 42.75 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.307, allocations: 36.81 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3072, allocations: 188.2 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.3073, allocations: 34.27 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3073, allocations: 12.31 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.3076, allocations: 105.9 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3077, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3077, allocations: 4 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3077, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.308, allocations: 77.81 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.3087, allocations: 392.4 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.3093, allocations: 126.6 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3094, allocations: 40.88 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3095, allocations: 3.938 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3095, allocations: 42.5 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3095, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004738/0.31, allocations: 137.5 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.31, allocations: 63.34 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3102, allocations: 133.8 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3102, allocations: 25.7 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.3103, allocations: 100 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3103, allocations: 31.92 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.3104, allocations: 21.72 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3105, allocations: 318.8 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3107, allocations: 31.97 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3108, allocations: 45.64 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.311, allocations: 81.67 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.311, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002856/0.3113, allocations: 110 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3113, allocations: 9.875 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3114, allocations: 0 / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3114, allocations: 3.938 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3115, allocations: 28.02 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3115, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.3116, allocations: 7.984 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3116, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001037/0.3117, allocations: 113.8 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.3118, allocations: 11.95 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.3118, allocations: 16.7 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3118, allocations: 3.938 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3118, allocations: 4 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3119, allocations: 4 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3121, allocations: 197.6 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3121, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3122, allocations: 15.98 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3122, allocations: 0 / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3123, allocations: 8 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3123, allocations: 8 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3123, allocations: 3.984 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.3126, allocations: 203.4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.3127, allocations: 85 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3127, allocations: 7.938 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3129, allocations: 11.92 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3129, allocations: 7.984 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.313, allocations: 8 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.047e-05/0.3131, allocations: 107.2 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3131, allocations: 4 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002554/0.3133, allocations: 16 kB / 1.172 GB, free: 0.7539 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 (7): * Single equations (assignments): 7 * 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.0006955/0.314, allocations: 0.7319 MB / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3143, allocations: 79.88 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3143, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3145, allocations: 35.98 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3148, allocations: 30.2 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.3169, allocations: 1.551 MB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3173, allocations: 0.6963 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.417e-05/0.3173, allocations: 12.59 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3174, allocations: 27.44 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.3174, allocations: 0 / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.3419, allocations: 2.742 MB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.329, allocations: 3.422 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches