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.008876/0.008876, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.002386/0.002386, allocations: 193 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.697/2.697, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2917, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003205/0.295, allocations: 1.665 MB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.2959, allocations: 410.8 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.296, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2961, allocations: 7.875 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.2962, allocations: 27.78 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.2967, allocations: 119.5 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.2969, allocations: 107.6 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.297, allocations: 44.25 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.2971, allocations: 43.84 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.2972, allocations: 39.84 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2972, allocations: 8 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.2974, allocations: 59.95 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.2974, allocations: 19.92 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.2975, allocations: 51.7 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2978, allocations: 131.5 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2978, allocations: 0 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2978, allocations: 4 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2978, allocations: 0 / 1.169 GB, free: 4.574 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.0007307/0.2985, allocations: 415 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2986, allocations: 8.031 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.2987, allocations: 42.75 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.2991, allocations: 40.78 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.2994, allocations: 196.2 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.2995, allocations: 34.27 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.2996, allocations: 8.375 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.2999, allocations: 108.3 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3, allocations: 4 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.3004, allocations: 87.81 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.3014, allocations: 380.5 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.3022, allocations: 138.6 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3024, allocations: 40.83 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3024, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3025, allocations: 42.5 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3025, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000643/0.3031, allocations: 137.5 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3032, allocations: 55.34 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3034, allocations: 137.8 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3034, allocations: 29.7 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.3035, allocations: 96.03 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3036, allocations: 27.78 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.3036, allocations: 21.72 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3038, allocations: 322.8 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.304, allocations: 27.98 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3042, allocations: 45.69 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3045, allocations: 81.75 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3045, allocations: 8 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003952/0.3049, allocations: 109.6 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3049, allocations: 4 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.305, allocations: 4 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.305, allocations: 3.938 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3052, allocations: 19.92 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3052, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3053, allocations: 11.98 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3053, allocations: 4.031 kB / 1.171 GB, free: 1.688 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.0001261/0.3055, allocations: 113.8 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.3055, allocations: 7.953 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.3056, allocations: 16.72 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3056, allocations: 3.938 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3056, allocations: 3.984 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3056, allocations: 0 / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.306, allocations: 197.6 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.306, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3061, allocations: 19.98 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3061, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3062, allocations: 4 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.3062, allocations: 7.875 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3062, allocations: 4 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.3067, allocations: 211.9 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.3068, allocations: 89 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3068, allocations: 3.938 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.3071, allocations: 15.92 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.3072, allocations: 11.98 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3072, allocations: 0 / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001027/0.3073, allocations: 105.5 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3073, allocations: 0 / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005402/0.3079, allocations: 16 kB / 1.172 GB, free: 0.7812 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.0008249/0.3087, allocations: 0.7436 MB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.3091, allocations: 75.94 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3092, allocations: 8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.3093, allocations: 35.97 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.3099, allocations: 27.92 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3127, allocations: 1.552 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.313, allocations: 0.6924 MB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.3131, allocations: 16.59 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.3132, allocations: 23.44 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.3132, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.3418, allocations: 2.73 MB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.983, allocations: 9.359 kB / 1.178 GB, free: 10.87 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