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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000919/0.0009189, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00586/0.00586, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 8.281 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5878, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001876/0.5897, allocations: 1.375 MB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.5905, allocations: 410.8 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.5906, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.938e-05/0.5907, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.5907, allocations: 19.84 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.5912, allocations: 103.7 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.5913, allocations: 103.6 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.5914, allocations: 34.23 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.688e-05/0.5915, allocations: 31.91 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.5916, allocations: 35.78 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.5916, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.5918, allocations: 59.95 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.5918, allocations: 15.92 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.5919, allocations: 69.48 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.5921, allocations: 115.6 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5921, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5921, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5921, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 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.0005503/0.5927, allocations: 411.1 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5927, allocations: 12.03 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.5928, allocations: 38.73 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.593, allocations: 32.81 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.5932, allocations: 192.1 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.5933, allocations: 38.25 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.5933, allocations: 16.38 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.5936, allocations: 109.9 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5936, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.5937, allocations: 7.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5937, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.5939, allocations: 93.66 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.5946, allocations: 396.5 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.5951, allocations: 130.6 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5953, allocations: 48.84 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.5953, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5953, allocations: 34.56 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.5953, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/0.5958, allocations: 157.6 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5958, allocations: 55.34 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.596, allocations: 141.7 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.596, allocations: 29.7 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.596, allocations: 108 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.5961, allocations: 23.66 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.5961, allocations: 17.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5962, allocations: 314.8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.5963, allocations: 35.97 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5965, allocations: 53.69 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.5967, allocations: 90.08 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5967, allocations: 8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002748/0.597, allocations: 121.5 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.597, allocations: 13.08 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5971, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5971, allocations: 3.938 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5972, allocations: 24.02 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5972, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.5973, allocations: 12 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.5973, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 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 8.192e-05/0.5974, allocations: 115.7 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.5975, allocations: 11.89 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.5975, allocations: 12.72 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5975, allocations: 11.94 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5975, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5975, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.5977, allocations: 193.6 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5977, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.5978, allocations: 19.92 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5979, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5979, allocations: 8 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5979, allocations: 3.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5979, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.5982, allocations: 207.4 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.5983, allocations: 92.94 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5983, allocations: 0 / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.5985, allocations: 23.92 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.5985, allocations: 7.938 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5985, allocations: 7.984 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.5986, allocations: 108.3 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.5986, allocations: 0 / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002463/0.5988, allocations: 16 kB / 1.029 GB, free: 9.578 MB / 0.7794 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.0005812/0.5994, allocations: 0.7513 MB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.5997, allocations: 83.89 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5997, allocations: 0 / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5998, allocations: 43.97 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.6002, allocations: 31.98 kB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.6022, allocations: 1.612 MB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.6025, allocations: 0.6926 MB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.833e-05/0.6026, allocations: 16.64 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.6027, allocations: 23.44 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of SimCode: time 4.8e-07/0.6027, allocations: 0 / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.6151, allocations: 2.404 MB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.6153, allocations: 227.2 kB / 1.035 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.423, allocations: 0 / 1.035 GB, free: 3.688 MB / 0.7794 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