Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_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.001313/0.001313, 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.001604/0.001604, allocations: 196.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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 62.11 kB / 0.9083 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2891, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003116/0.2922, allocations: 1.677 MB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.293, allocations: 398.8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.2931, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2932, allocations: 7.875 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.2933, allocations: 27.78 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.2938, allocations: 117.8 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.2939, allocations: 107.6 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2941, allocations: 44.23 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.2941, allocations: 35.92 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.2942, allocations: 43.78 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2943, allocations: 11.94 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.2944, allocations: 63.94 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.2945, allocations: 23.91 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.2945, allocations: 39.8 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.2948, allocations: 135.6 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2948, allocations: 0 / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2948, allocations: 0 / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2948, allocations: 0 / 1.066 GB, free: 11.81 MB / 0.8262 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.000587/0.2954, allocations: 419.1 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2954, allocations: 12.03 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.2955, allocations: 38.73 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.2957, allocations: 32.73 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.2959, allocations: 192.2 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.296, allocations: 34.27 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.296, allocations: 8.359 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.2963, allocations: 105.9 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2963, allocations: 3.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.2963, allocations: 8 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2963, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.2966, allocations: 83.94 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.2973, allocations: 388.5 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.2979, allocations: 126.6 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.298, allocations: 44.88 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.298, allocations: 3.938 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.298, allocations: 38.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.298, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004239/0.2985, allocations: 133.5 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2985, allocations: 55.34 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2986, allocations: 135.4 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2987, allocations: 25.7 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.2987, allocations: 96.12 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.2987, allocations: 27.81 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.2988, allocations: 21.7 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2989, allocations: 322.8 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.299, allocations: 31.97 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2992, allocations: 45.62 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.2994, allocations: 78.16 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2994, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003131/0.2997, allocations: 121.5 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2997, allocations: 5.406 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2997, allocations: 0 / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2997, allocations: 3.938 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2999, allocations: 24.02 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2999, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.3, allocations: 15.83 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3, allocations: 4 kB / 1.069 GB, free: 8.93 MB / 0.8262 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 9.716e-05/0.3001, allocations: 113.8 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3001, allocations: 7.906 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.3002, allocations: 20.64 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3002, allocations: 7.938 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3002, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3002, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3004, allocations: 201.6 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3004, allocations: 0 / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3006, allocations: 15.98 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3006, allocations: 0 / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3006, allocations: 4 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3006, allocations: 3.938 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3006, allocations: 7.875 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3009, allocations: 199.4 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.301, allocations: 85.02 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.301, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3012, allocations: 19.91 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3012, allocations: 7.938 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3012, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.316e-05/0.3013, allocations: 109.4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3013, allocations: 4 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002457/0.3016, allocations: 19.91 kB / 1.07 GB, free: 8.02 MB / 0.8262 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.0005618/0.3021, allocations: 0.7324 MB / 1.07 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3024, allocations: 79.88 kB / 1.07 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3024, allocations: 0 / 1.07 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.3025, allocations: 39.92 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3029, allocations: 31.91 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3047, allocations: 1.547 MB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.3049, allocations: 0.6962 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.305, allocations: 12.67 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.3051, allocations: 27.42 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3051, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3231, allocations: 2.712 MB / 1.075 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.602, allocations: 1.5 kB / 1.075 GB, free: 2.148 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches