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.0009044/0.0009044, allocations: 91.84 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.005823/0.005823, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 16.77 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2788, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001925/0.2808, allocations: 1.392 MB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.4455, allocations: 145.8 MB / 1.203 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.4456, allocations: 0 / 1.203 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.4458, allocations: 23.86 kB / 1.203 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.446, allocations: 47.69 kB / 1.203 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.4464, allocations: 159.5 kB / 1.203 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.4467, allocations: 159.5 kB / 1.203 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4468, allocations: 29.34 kB / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.4486, allocations: 172.3 kB / 1.203 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4487, allocations: 55.75 kB / 1.203 GB, free: 484 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.4488, allocations: 4 kB / 1.203 GB, free: 480 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.4491, allocations: 163.7 kB / 1.203 GB, free: 316 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.4491, allocations: 19.91 kB / 1.203 GB, free: 296 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.4492, allocations: 69.44 kB / 1.203 GB, free: 220 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.4495, allocations: 199.4 kB / 1.204 GB, free: 20 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4495, allocations: 0 / 1.204 GB, free: 20 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4495, allocations: 0 / 1.204 GB, free: 20 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.4495, allocations: 0 / 1.204 GB, free: 20 kB / 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.0007766/0.4503, allocations: 467 kB / 1.204 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4504, allocations: 11.97 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.4504, allocations: 42.73 kB / 1.204 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.451, allocations: 56.53 kB / 1.204 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4512, allocations: 198.8 kB / 1.204 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.4513, allocations: 4 kB / 1.204 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4513, allocations: 15.94 kB / 1.204 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.4518, allocations: 203.1 kB / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4518, allocations: 0 / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4518, allocations: 0 / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4518, allocations: 8 kB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/0.4524, allocations: 175.7 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.4536, allocations: 0.8167 MB / 1.206 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.4542, allocations: 150.4 kB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.4544, allocations: 92.8 kB / 1.206 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4545, allocations: 0 / 1.206 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4545, allocations: 30.56 kB / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.4545, allocations: 0 / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001986/0.4565, allocations: 499.3 kB / 1.206 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.4566, allocations: 59.34 kB / 1.206 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4567, allocations: 148.5 kB / 1.206 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4567, allocations: 29.7 kB / 1.206 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.4568, allocations: 104.3 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.4568, allocations: 27.56 kB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.4569, allocations: 21.7 kB / 1.207 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.457, allocations: 322.8 kB / 1.207 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.4573, allocations: 79.86 kB / 1.207 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.4576, allocations: 112.2 kB / 1.207 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.4582, allocations: 204.1 kB / 1.207 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4582, allocations: 0 / 1.207 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001091/0.4593, allocations: 298.4 kB / 1.208 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4593, allocations: 11.94 kB / 1.208 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4593, allocations: 80 / 1.208 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.4599, allocations: 92.81 kB / 1.208 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.4602, allocations: 39.95 kB / 1.208 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.4623, allocations: 1.553 MB / 1.209 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4625, allocations: 35.81 kB / 1.209 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.4625, allocations: 4 kB / 1.209 GB, free: 9.715 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.0001258/0.4627, allocations: 129.7 kB / 1.209 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4627, allocations: 15.83 kB / 1.209 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.4639, allocations: 330.9 kB / 1.21 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4639, allocations: 4 kB / 1.21 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4639, allocations: 3.938 kB / 1.21 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4639, allocations: 0 / 1.21 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.4642, allocations: 233.5 kB / 1.21 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4642, allocations: 0 / 1.21 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.4644, allocations: 39.95 kB / 1.21 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.4649, allocations: 88.77 kB / 1.21 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.465, allocations: 7.984 kB / 1.21 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.4668, allocations: 1.575 MB / 1.212 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4668, allocations: 0 / 1.212 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4679, allocations: 411.4 kB / 1.212 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.468, allocations: 96.98 kB / 1.212 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.468, allocations: 4 kB / 1.212 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4682, allocations: 23.92 kB / 1.212 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.4683, allocations: 19.97 kB / 1.212 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4683, allocations: 4 kB / 1.212 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.345e-05/0.4684, allocations: 118.1 kB / 1.212 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4684, allocations: 4 kB / 1.212 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003185/0.4687, allocations: 43.94 kB / 1.212 GB, free: 6.352 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.001418/0.4702, allocations: 0.9433 MB / 1.213 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008954/0.4711, allocations: 326.7 kB / 1.214 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4711, allocations: 0 / 1.214 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.4716, allocations: 242.6 kB / 1.214 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.472, allocations: 31.86 kB / 1.214 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.4759, allocations: 2.153 MB / 1.216 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4762, allocations: 0.7049 MB / 1.217 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.4764, allocations: 29 kB / 1.217 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.4765, allocations: 35.41 kB / 1.217 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.4765, allocations: 0 / 1.217 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.4927, allocations: 4.209 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.493, allocations: 250.5 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.355, allocations: 0 / 1.221 GB, free: 13.45 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