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.001008/0.001012, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.277/2.277, allocations: 390.3 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.89 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.5863, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002285/0.5886, allocations: 1.661 MB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1494/0.738, allocations: 149.7 MB / 1.098 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.7381, allocations: 0 / 1.098 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.7383, allocations: 31.73 kB / 1.098 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.7385, allocations: 43.66 kB / 1.098 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.7389, allocations: 187.3 kB / 1.098 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.739, allocations: 159.5 kB / 1.098 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.7392, allocations: 35.36 kB / 1.098 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.7402, allocations: 185.7 kB / 1.098 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.7403, allocations: 63.73 kB / 1.098 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.7403, allocations: 8 kB / 1.098 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.7406, allocations: 167.8 kB / 1.098 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.7406, allocations: 27.89 kB / 1.098 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.7407, allocations: 51.72 kB / 1.098 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.741, allocations: 203.3 kB / 1.099 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.741, allocations: 0 / 1.099 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.741, allocations: 0 / 1.099 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.741, allocations: 0 / 1.099 GB, free: 8.738 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.0007445/0.7418, allocations: 466.9 kB / 1.099 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.7418, allocations: 12.03 kB / 1.099 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.7418, allocations: 38.73 kB / 1.099 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.7424, allocations: 60.53 kB / 1.099 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.7426, allocations: 206.7 kB / 1.099 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.7426, allocations: 4 kB / 1.099 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.7427, allocations: 8 kB / 1.099 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.7431, allocations: 185.8 kB / 1.1 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7431, allocations: 0 / 1.1 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.7431, allocations: 0 / 1.1 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7431, allocations: 4 kB / 1.1 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.7436, allocations: 155.7 kB / 1.1 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.7446, allocations: 0.8129 MB / 1.101 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.745, allocations: 138.5 kB / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.7453, allocations: 84.78 kB / 1.101 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.7453, allocations: 0 / 1.101 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.7453, allocations: 30.56 kB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.7453, allocations: 0 / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001865/0.7472, allocations: 459.1 kB / 1.101 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.7472, allocations: 63.34 kB / 1.101 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.7474, allocations: 143.6 kB / 1.101 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.7474, allocations: 33.69 kB / 1.101 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.7475, allocations: 104.3 kB / 1.102 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.7475, allocations: 31.78 kB / 1.102 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.7476, allocations: 37.61 kB / 1.102 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7477, allocations: 322.8 kB / 1.102 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.7479, allocations: 63.94 kB / 1.102 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.7482, allocations: 116.2 kB / 1.102 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.7487, allocations: 184.4 kB / 1.102 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7487, allocations: 3.984 kB / 1.102 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001029/0.7498, allocations: 274.1 kB / 1.103 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7498, allocations: 11.94 kB / 1.103 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.7498, allocations: 0 / 1.103 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.7504, allocations: 84.89 kB / 1.103 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.7506, allocations: 35.95 kB / 1.103 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.7526, allocations: 1.659 MB / 1.104 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.7528, allocations: 23.92 kB / 1.104 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.7529, allocations: 11.92 kB / 1.104 GB, free: 2.465 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.178e-05/0.753, allocations: 117.9 kB / 1.104 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.753, allocations: 15.81 kB / 1.104 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.7541, allocations: 310.9 kB / 1.105 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7541, allocations: 4 kB / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.7541, allocations: 0 / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7541, allocations: 0 / 1.105 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.7544, allocations: 245.4 kB / 1.105 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7544, allocations: 0 / 1.105 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.7546, allocations: 27.97 kB / 1.105 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/0.755, allocations: 76.77 kB / 1.105 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.7551, allocations: 3.938 kB / 1.105 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.757, allocations: 1.689 MB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.757, allocations: 0 / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.7581, allocations: 380.1 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7582, allocations: 108.8 kB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.7582, allocations: 0 / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.7585, allocations: 27.84 kB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.7585, allocations: 15.98 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.7585, allocations: 0 / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.7586, allocations: 117.1 kB / 1.107 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.7586, allocations: 0 / 1.107 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003285/0.759, allocations: 48 kB / 1.107 GB, free: 15.05 MB / 0.8731 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.001471/0.7605, allocations: 0.9251 MB / 1.108 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009052/0.7614, allocations: 310.4 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7614, allocations: 256 / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.7619, allocations: 240.3 kB / 1.109 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.7623, allocations: 25.06 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.7663, allocations: 2.064 MB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.7666, allocations: 0.7085 MB / 1.112 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.7668, allocations: 24.81 kB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.7668, allocations: 35.42 kB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.7668, allocations: 0 / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.7916, allocations: 4.665 MB / 1.116 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.22, allocations: 14.23 kB / 1.116 GB, free: 6.02 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