Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_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.001134/0.001134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001172/0.001172, allocations: 189.5 kB / 16.25 MB, free: 6.621 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 469.8 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 65.22 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3148, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002901/0.3177, allocations: 1.731 MB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.4777, allocations: 147.5 MB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.4779, allocations: 4 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.478, allocations: 11.88 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.4783, allocations: 47.7 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.4786, allocations: 163.5 kB / 1.21 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.4788, allocations: 163.5 kB / 1.21 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.479, allocations: 33.33 kB / 1.21 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.4809, allocations: 190.3 kB / 1.21 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.481, allocations: 63.73 kB / 1.21 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.481, allocations: 8 kB / 1.21 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.4813, allocations: 159.7 kB / 1.21 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.4813, allocations: 31.89 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.4814, allocations: 59.72 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.4817, allocations: 191.5 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4817, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4817, allocations: 4 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4817, allocations: 0 / 1.21 GB, free: 7.605 MB / 0.9669 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.0007998/0.4825, allocations: 463 kB / 1.211 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4826, allocations: 12.03 kB / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.4826, allocations: 42.73 kB / 1.211 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.4832, allocations: 60.44 kB / 1.211 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4834, allocations: 206.8 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4834, allocations: 8 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4835, allocations: 12 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.4839, allocations: 190.9 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4839, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4839, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4839, allocations: 8 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.4844, allocations: 151.7 kB / 1.212 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4855, allocations: 0.8206 MB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.4859, allocations: 130.5 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.4861, allocations: 80.78 kB / 1.213 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.4862, allocations: 8 kB / 1.213 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4862, allocations: 34.5 kB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.4862, allocations: 0 / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001814/0.488, allocations: 451.2 kB / 1.213 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.4881, allocations: 59.28 kB / 1.213 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4882, allocations: 154.2 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4882, allocations: 29.7 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.4883, allocations: 104.3 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4884, allocations: 35.69 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.4884, allocations: 29.64 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4886, allocations: 322.8 kB / 1.214 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.4888, allocations: 71.94 kB / 1.214 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.4891, allocations: 108.2 kB / 1.214 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.4895, allocations: 176.4 kB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4895, allocations: 0 / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009891/0.4905, allocations: 278.1 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4906, allocations: 11.92 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4906, allocations: 4 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.4911, allocations: 84.89 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.4914, allocations: 35.89 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6165/1.108, allocations: 1.657 MB / 1.216 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/1.108, allocations: 27.89 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/1.108, allocations: 11.92 kB / 1.216 GB, free: 1.324 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.0001323/1.108, allocations: 117.8 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/1.108, allocations: 15.84 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/1.109, allocations: 311.9 kB / 1.217 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.109, allocations: 0 / 1.217 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.109, allocations: 4 kB / 1.217 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.109, allocations: 0 / 1.217 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/1.11, allocations: 237.5 kB / 1.217 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.11, allocations: 3.938 kB / 1.217 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.11, allocations: 31.97 kB / 1.217 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/1.11, allocations: 84.7 kB / 1.217 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.11, allocations: 3.938 kB / 1.217 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/1.112, allocations: 1.681 MB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.112, allocations: 11.95 kB / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/1.113, allocations: 381 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/1.113, allocations: 96.98 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/1.113, allocations: 4 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/1.113, allocations: 27.91 kB / 1.219 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/1.113, allocations: 7.984 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.113, allocations: 8 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.191e-05/1.113, allocations: 114.3 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.114, allocations: 0 / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002967/1.114, allocations: 47.84 kB / 1.219 GB, free: 13.91 MB / 0.9825 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.001233/1.115, allocations: 0.9349 MB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007704/1.116, allocations: 306.7 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.116, allocations: 0 / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/1.116, allocations: 238.5 kB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/1.117, allocations: 22.72 kB / 1.221 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/1.12, allocations: 2.089 MB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/1.12, allocations: 0.7085 MB / 1.223 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001466/1.121, allocations: 28.81 kB / 1.223 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/1.121, allocations: 35.42 kB / 1.223 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/1.121, allocations: 0 / 1.223 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.426/2.547, allocations: 4.485 MB / 1.228 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003949/2.547, allocations: 243.4 kB / 1.228 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/4.605, allocations: 0 / 1.228 GB, free: 4.84 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches