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.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.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.001387/0.001387, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001664/0.001664, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.27 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002524/0.2701, allocations: 1.726 MB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.4085, allocations: 147.4 MB / 1.198 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.4086, allocations: 0 / 1.198 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.4088, allocations: 19.86 kB / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.4091, allocations: 43.69 kB / 1.198 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.4095, allocations: 163.5 kB / 1.198 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4097, allocations: 155.5 kB / 1.198 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4098, allocations: 29.33 kB / 1.198 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.4117, allocations: 174.1 kB / 1.198 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.4118, allocations: 59.75 kB / 1.198 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.4118, allocations: 8 kB / 1.198 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.4121, allocations: 167.7 kB / 1.199 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.4121, allocations: 19.92 kB / 1.199 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.4122, allocations: 51.72 kB / 1.199 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.4125, allocations: 195.5 kB / 1.199 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4125, allocations: 0 / 1.199 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.71e-07/0.4125, allocations: 4 kB / 1.199 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4125, allocations: 4 kB / 1.199 GB, free: 1.43 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.0008278/0.4134, allocations: 463 kB / 1.199 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4134, allocations: 11.97 kB / 1.199 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.4135, allocations: 46.75 kB / 1.199 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/0.4141, allocations: 56.44 kB / 1.199 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.4143, allocations: 198.8 kB / 1.2 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4143, allocations: 12 kB / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4144, allocations: 8 kB / 1.2 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.4148, allocations: 187.5 kB / 1.2 GB, free: 360 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.4148, allocations: 0 / 1.2 GB, free: 360 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.4149, allocations: 8 kB / 1.2 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4149, allocations: 0 / 1.2 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.4154, allocations: 151.7 kB / 1.2 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.4165, allocations: 0.8167 MB / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.4169, allocations: 138.5 kB / 1.201 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.4171, allocations: 76.8 kB / 1.201 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4171, allocations: 4 kB / 1.201 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4172, allocations: 42.5 kB / 1.201 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4172, allocations: 0 / 1.201 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001904/0.4191, allocations: 455.2 kB / 1.201 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4191, allocations: 63.28 kB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4193, allocations: 152.8 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4193, allocations: 33.64 kB / 1.202 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.4194, allocations: 108.3 kB / 1.202 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4194, allocations: 23.56 kB / 1.202 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.4195, allocations: 37.69 kB / 1.202 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.4196, allocations: 318.8 kB / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.4198, allocations: 67.94 kB / 1.202 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.4201, allocations: 108.2 kB / 1.202 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.4206, allocations: 176.1 kB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4206, allocations: 0 / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001026/0.4216, allocations: 278.1 kB / 1.203 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4216, allocations: 13.66 kB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4216, allocations: 0 / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.4223, allocations: 84.89 kB / 1.203 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4225, allocations: 39.89 kB / 1.203 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.4244, allocations: 1.549 MB / 1.204 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.4247, allocations: 27.83 kB / 1.204 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.4247, allocations: 4 kB / 1.204 GB, free: 11.28 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.0001034/0.4248, allocations: 121.8 kB / 1.205 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.4248, allocations: 15.97 kB / 1.205 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4259, allocations: 306.9 kB / 1.205 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4259, allocations: 0 / 1.205 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.426, allocations: 11.94 kB / 1.205 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.426, allocations: 7.984 kB / 1.205 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4262, allocations: 237.4 kB / 1.205 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4262, allocations: 0 / 1.205 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.4265, allocations: 31.91 kB / 1.205 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005249/0.427, allocations: 88.7 kB / 1.205 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.427, allocations: 3.984 kB / 1.205 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.4288, allocations: 1.575 MB / 1.207 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4288, allocations: 0 / 1.207 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4298, allocations: 383.1 kB / 1.207 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.4299, allocations: 105 kB / 1.207 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.4299, allocations: 4 kB / 1.207 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.4302, allocations: 23.97 kB / 1.207 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.4302, allocations: 11.98 kB / 1.207 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4303, allocations: 4 kB / 1.207 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.4303, allocations: 116.3 kB / 1.207 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4303, allocations: 0 / 1.207 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003346/0.4307, allocations: 43.94 kB / 1.207 GB, free: 7.973 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.001305/0.432, allocations: 0.9238 MB / 1.208 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008114/0.4328, allocations: 298.7 kB / 1.209 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4328, allocations: 0 / 1.209 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.4333, allocations: 234.5 kB / 1.209 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4337, allocations: 25.47 kB / 1.209 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.4374, allocations: 2.093 MB / 1.211 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4377, allocations: 0.7127 MB / 1.212 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.4378, allocations: 24.83 kB / 1.212 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.4379, allocations: 39.41 kB / 1.212 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.4379, allocations: 0 / 1.212 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/1.52, allocations: 4.293 MB / 1.216 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/1.521, allocations: 249.9 kB / 1.216 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.446, allocations: 1.25 kB / 1.216 GB, free: 15.09 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