Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_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.001221/0.001221, 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.001263/0.001263, allocations: 192.7 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5195, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00233/0.5219, allocations: 1.716 MB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.132/0.6539, allocations: 147.5 MB / 1.095 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.654, allocations: 0 / 1.095 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.6543, allocations: 23.86 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.6546, allocations: 35.78 kB / 1.095 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.655, allocations: 171.5 kB / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.6552, allocations: 159.5 kB / 1.095 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.6553, allocations: 27.36 kB / 1.095 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.657, allocations: 204.7 kB / 1.096 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.6572, allocations: 63.73 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.6572, allocations: 8 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.6575, allocations: 167.8 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.6575, allocations: 23.86 kB / 1.096 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.6576, allocations: 59.7 kB / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.6579, allocations: 199.4 kB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6579, allocations: 0 / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6579, allocations: 0 / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6579, allocations: 0 / 1.096 GB, free: 11.11 MB / 0.8575 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.000779/0.6587, allocations: 466.9 kB / 1.097 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6587, allocations: 8.031 kB / 1.097 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.6588, allocations: 42.73 kB / 1.097 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.6594, allocations: 60.53 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.6596, allocations: 206.7 kB / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.6596, allocations: 8 kB / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.6596, allocations: 4 kB / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.66, allocations: 192.2 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.66, allocations: 0 / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.6601, allocations: 3.938 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6601, allocations: 4 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.6605, allocations: 153.4 kB / 1.097 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.6615, allocations: 0.8129 MB / 1.098 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.6619, allocations: 134.5 kB / 1.098 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.6621, allocations: 76.8 kB / 1.098 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.6622, allocations: 8 kB / 1.098 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.6622, allocations: 30.56 kB / 1.098 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.6622, allocations: 0 / 1.098 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001772/0.664, allocations: 459.1 kB / 1.099 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.664, allocations: 55.34 kB / 1.099 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.6641, allocations: 155.6 kB / 1.099 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6642, allocations: 25.7 kB / 1.099 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.6642, allocations: 112.2 kB / 1.099 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.6642, allocations: 27.8 kB / 1.099 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.6643, allocations: 37.59 kB / 1.099 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.6644, allocations: 318.8 kB / 1.099 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.6646, allocations: 71.86 kB / 1.099 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.6649, allocations: 104.2 kB / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.6653, allocations: 188.4 kB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6653, allocations: 0 / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009754/0.6663, allocations: 282.1 kB / 1.1 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6663, allocations: 7.938 kB / 1.1 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.6663, allocations: 7.938 kB / 1.1 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.6669, allocations: 80.86 kB / 1.1 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.6671, allocations: 31.95 kB / 1.1 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.6691, allocations: 1.664 MB / 1.102 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.6693, allocations: 19.98 kB / 1.102 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.6693, allocations: 11.92 kB / 1.102 GB, free: 4.836 MB / 0.8575 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 9.453e-05/0.6694, allocations: 121.8 kB / 1.102 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.6694, allocations: 11.81 kB / 1.102 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.6705, allocations: 310.9 kB / 1.102 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6705, allocations: 4 kB / 1.102 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.6705, allocations: 0 / 1.102 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6705, allocations: 0 / 1.102 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.6707, allocations: 241.4 kB / 1.102 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6707, allocations: 0 / 1.102 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.671, allocations: 39.89 kB / 1.102 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/0.6714, allocations: 72.78 kB / 1.103 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.6714, allocations: 3.938 kB / 1.103 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6731, allocations: 1.682 MB / 1.104 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6731, allocations: 4.062 kB / 1.104 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.6741, allocations: 380 kB / 1.105 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.6741, allocations: 104.8 kB / 1.105 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.6742, allocations: 7.984 kB / 1.105 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6744, allocations: 19.92 kB / 1.105 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.6745, allocations: 19.92 kB / 1.105 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.6745, allocations: 7.984 kB / 1.105 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.6746, allocations: 112.8 kB / 1.105 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6746, allocations: 0 / 1.105 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003032/0.6749, allocations: 47.98 kB / 1.105 GB, free: 1.422 MB / 0.8575 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.001215/0.6761, allocations: 0.9258 MB / 1.106 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007978/0.6769, allocations: 310.7 kB / 1.106 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6769, allocations: 3.938 kB / 1.106 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.6774, allocations: 234.6 kB / 1.106 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.6777, allocations: 23.92 kB / 1.106 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.6813, allocations: 2.096 MB / 1.108 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.6815, allocations: 0.7046 MB / 1.109 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.6817, allocations: 24.91 kB / 1.109 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/0.6818, allocations: 39.41 kB / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.6818, allocations: 4 kB / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.65/2.332, allocations: 4.471 MB / 1.113 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/2.332, allocations: 244.5 kB / 1.114 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/4.44, allocations: 4 kB / 1.114 GB, free: 8.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches