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.007047/0.007047, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001274/0.001274, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.488/2.488, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7806, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002809/0.7834, allocations: 1.677 MB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.7842, allocations: 394.8 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.7843, allocations: 0 / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.91e-05/0.7844, allocations: 15.86 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.7845, allocations: 19.8 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.785, allocations: 122.2 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.7852, allocations: 103.6 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.7853, allocations: 46.19 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.7854, allocations: 43.86 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.7855, allocations: 39.78 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.7855, allocations: 8 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.7856, allocations: 63.95 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.7857, allocations: 23.91 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.7857, allocations: 47.78 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.786, allocations: 127.5 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.786, allocations: 4 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.786, allocations: 0 / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.786, allocations: 0 / 1.169 GB, free: 1.062 MB / 0.8887 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.0005418/0.7866, allocations: 427 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7866, allocations: 8.922 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.7866, allocations: 38.75 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.7869, allocations: 28.81 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.7872, allocations: 196.2 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.7872, allocations: 46.2 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.7873, allocations: 4.375 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.7875, allocations: 105.9 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7875, allocations: 0 / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.7876, allocations: 4 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7876, allocations: 4 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.7878, allocations: 79.94 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.7885, allocations: 388.4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.789, allocations: 130.6 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.7892, allocations: 48.81 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.7892, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7892, allocations: 34.56 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.7892, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/0.7896, allocations: 133.5 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.7897, allocations: 59.34 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7898, allocations: 129.8 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.7898, allocations: 29.7 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.7899, allocations: 104 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.7899, allocations: 19.64 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.7899, allocations: 25.72 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.79, allocations: 318.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.7902, allocations: 35.91 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.7903, allocations: 41.7 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.7905, allocations: 85.81 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7905, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000256/0.7907, allocations: 110 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7908, allocations: 10.5 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7908, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.7908, allocations: 3.938 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.7909, allocations: 15.98 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7909, allocations: 8.062 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.791, allocations: 12.02 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.791, allocations: 4 kB / 1.171 GB, free: 14.18 MB / 0.9044 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.0001316/0.7912, allocations: 117.8 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.7912, allocations: 7.906 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.7913, allocations: 16.7 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7913, allocations: 3.938 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7913, allocations: 3.938 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.7913, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.7915, allocations: 201.6 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7915, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.7916, allocations: 15.98 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7916, allocations: 3.984 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7916, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.7917, allocations: 11.92 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7917, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.792, allocations: 211.3 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.792, allocations: 84.95 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.792, allocations: 4 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.7923, allocations: 15.92 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.7923, allocations: 7.984 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.7923, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.7924, allocations: 111.2 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7924, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002582/0.7927, allocations: 24 kB / 1.172 GB, free: 13.26 MB / 0.9044 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.0007492/0.7934, allocations: 0.7267 MB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.7937, allocations: 83.86 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7937, allocations: 4.062 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.7938, allocations: 35.92 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.7941, allocations: 27.91 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.7961, allocations: 1.538 MB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.7966, allocations: 0.6924 MB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.7967, allocations: 20.59 kB / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.7968, allocations: 23.44 kB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.7968, allocations: 0 / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.816, allocations: 2.74 MB / 1.178 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.517, allocations: 9.594 kB / 1.178 GB, free: 7.367 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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