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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008297/0.0008296, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005185/0.005185, allocations: 172 kB / 16.26 MB, free: 6.613 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 12.25 kB / 0.9029 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2995, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001819/0.3014, allocations: 1.389 MB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.3021, allocations: 402.8 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.3022, allocations: 4 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.885e-05/0.3023, allocations: 3.938 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.619e-05/0.3023, allocations: 23.83 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3027, allocations: 99.75 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.3028, allocations: 107.6 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.303, allocations: 36.12 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.303, allocations: 27.92 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.3031, allocations: 39.77 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3031, allocations: 7.938 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3033, allocations: 55.95 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.3033, allocations: 15.92 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.3034, allocations: 65.5 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3035, allocations: 119.6 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3036, allocations: 4 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3036, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3036, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 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.0005915/0.3042, allocations: 407.2 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3042, allocations: 15.97 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.3043, allocations: 38.73 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.3045, allocations: 32.81 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3048, allocations: 190.7 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.3048, allocations: 34.25 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3049, allocations: 12.38 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.3052, allocations: 115.5 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3052, allocations: 0 / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3052, allocations: 7.984 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3052, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.3055, allocations: 95.84 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.3063, allocations: 396.4 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.3068, allocations: 134.6 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.307, allocations: 44.84 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.307, allocations: 3.938 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.307, allocations: 38.5 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.307, allocations: 3.938 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004692/0.3075, allocations: 153.8 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3075, allocations: 55.34 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3077, allocations: 135.7 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3077, allocations: 29.7 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.3078, allocations: 104 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3078, allocations: 23.66 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.3078, allocations: 17.7 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.308, allocations: 314.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3081, allocations: 35.97 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3082, allocations: 65.92 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.3085, allocations: 81.69 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3085, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002719/0.3088, allocations: 125.5 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3088, allocations: 11.98 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3088, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3089, allocations: 3.938 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.309, allocations: 24.02 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.309, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.3091, allocations: 11.94 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3091, allocations: 4 kB / 1.064 GB, free: 15.52 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 0.0001049/0.3092, allocations: 113.8 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.3092, allocations: 15.89 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.3093, allocations: 12.66 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3093, allocations: 11.94 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3093, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3093, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3096, allocations: 205.5 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3096, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3097, allocations: 19.98 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3097, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3097, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3097, allocations: 7.938 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3097, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.3101, allocations: 207.4 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.3101, allocations: 92.94 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3102, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3103, allocations: 23.92 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3104, allocations: 7.938 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3104, allocations: 7.984 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.768e-05/0.3105, allocations: 108.6 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3105, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002384/0.3107, allocations: 16 kB / 1.065 GB, free: 14.59 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.0006379/0.3114, allocations: 0.7475 MB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.3117, allocations: 87.89 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3117, allocations: 0 / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3118, allocations: 43.97 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3122, allocations: 29.19 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3141, allocations: 1.596 MB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.3143, allocations: 0.6926 MB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.591e-05/0.3144, allocations: 20.64 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.3145, allocations: 23.44 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3145, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.335, allocations: 2.414 MB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.3353, allocations: 221.6 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.076, allocations: 2.25 kB / 1.07 GB, free: 8.734 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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