Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.002185/0.002185, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.004657/0.004657, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.071/2.071, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.734/3.734, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 70.16 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4157, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003273/0.4191, allocations: 1.739 MB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.5947, allocations: 147.5 MB / 1.198 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.5949, allocations: 0 / 1.198 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.5952, allocations: 23.86 kB / 1.198 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.5955, allocations: 43.7 kB / 1.198 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.596, allocations: 163.5 kB / 1.198 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.5963, allocations: 167.5 kB / 1.199 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.5964, allocations: 33.33 kB / 1.199 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.5984, allocations: 187.7 kB / 1.199 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.5985, allocations: 63.75 kB / 1.199 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.5986, allocations: 8 kB / 1.199 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.5989, allocations: 175.6 kB / 1.199 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.5989, allocations: 23.92 kB / 1.199 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.599, allocations: 55.72 kB / 1.199 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.5993, allocations: 203.4 kB / 1.199 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5993, allocations: 0 / 1.199 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.542e-06/0.5993, allocations: 0 / 1.199 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.5993, allocations: 0 / 1.199 GB, free: 1.73 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009076/0.6003, allocations: 470.9 kB / 1.2 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6003, allocations: 8.625 kB / 1.2 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.6004, allocations: 38.75 kB / 1.2 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006442/0.601, allocations: 64.44 kB / 1.2 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.6013, allocations: 202.8 kB / 1.2 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.6013, allocations: 0 / 1.2 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.6013, allocations: 12 kB / 1.2 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.6018, allocations: 178.7 kB / 1.2 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.6018, allocations: 0 / 1.2 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.6018, allocations: 8 kB / 1.2 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.6018, allocations: 7.938 kB / 1.2 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.6023, allocations: 159.7 kB / 1.2 GB, free: 500 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.6035, allocations: 0.8167 MB / 1.201 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.6039, allocations: 130.5 kB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.6042, allocations: 76.8 kB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.6042, allocations: 0 / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6042, allocations: 38.56 kB / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.6042, allocations: 0 / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001977/0.6062, allocations: 467.2 kB / 1.202 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.6063, allocations: 55.34 kB / 1.202 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.6064, allocations: 148.3 kB / 1.202 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.6065, allocations: 33.7 kB / 1.202 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.6065, allocations: 104.3 kB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6066, allocations: 27.56 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.6067, allocations: 33.62 kB / 1.202 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6068, allocations: 326.8 kB / 1.203 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.607, allocations: 63.94 kB / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.6073, allocations: 112.2 kB / 1.203 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.6078, allocations: 172.1 kB / 1.203 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6078, allocations: 0 / 1.203 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001091/0.6089, allocations: 282.1 kB / 1.203 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.609, allocations: 10.75 kB / 1.203 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.609, allocations: 0 / 1.203 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/0.6097, allocations: 88.89 kB / 1.203 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.6099, allocations: 35.95 kB / 1.203 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.6126, allocations: 1.659 MB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.6128, allocations: 31.84 kB / 1.205 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.6129, allocations: 7.938 kB / 1.205 GB, free: 11.46 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.613, allocations: 121.9 kB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.6131, allocations: 7.906 kB / 1.205 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.6143, allocations: 314.9 kB / 1.205 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6144, allocations: 8 kB / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6144, allocations: 192 / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6144, allocations: 0 / 1.205 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.6147, allocations: 245.5 kB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6147, allocations: 0 / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.615, allocations: 31.95 kB / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.6154, allocations: 72.78 kB / 1.206 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.6155, allocations: 11.92 kB / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.6178, allocations: 1.686 MB / 1.207 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6178, allocations: 0 / 1.207 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.6189, allocations: 387.1 kB / 1.208 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.619, allocations: 105 kB / 1.208 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.6191, allocations: 0 / 1.208 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.6193, allocations: 23.92 kB / 1.208 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.6194, allocations: 7.984 kB / 1.208 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.6194, allocations: 11.98 kB / 1.208 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001162/0.6195, allocations: 114.5 kB / 1.208 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6195, allocations: 0 / 1.208 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003609/0.6199, allocations: 47.94 kB / 1.208 GB, free: 8.047 MB / 0.9669 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001588/0.6215, allocations: 0.9176 MB / 1.209 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009456/0.6225, allocations: 314.9 kB / 1.209 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6225, allocations: 4.25 kB / 1.209 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.623, allocations: 230.5 kB / 1.209 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.6234, allocations: 36.09 kB / 1.209 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.6276, allocations: 2.085 MB / 1.212 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.628, allocations: 0.7124 MB / 1.212 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.6282, allocations: 32.94 kB / 1.212 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.6283, allocations: 39.41 kB / 1.212 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.6283, allocations: 0 / 1.212 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2453/0.8736, allocations: 4.472 MB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000479/0.8741, allocations: 246.8 kB / 1.217 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.652/4.526, allocations: 0 / 1.217 GB, free: 14.99 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches