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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001333/0.001334, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 4.539 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.71/2.71, allocations: 390.2 MB / 0.665 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 67.91 kB / 0.8127 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7987, allocations: 140.4 MB / 0.9498 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002667/0.8014, allocations: 1.733 MB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.183/0.9844, allocations: 147.5 MB / 1.096 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.9846, allocations: 0 / 1.096 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.9848, allocations: 23.86 kB / 1.096 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.9851, allocations: 47.69 kB / 1.096 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.9856, allocations: 163.5 kB / 1.096 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.9858, allocations: 163.5 kB / 1.096 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.9859, allocations: 27.09 kB / 1.096 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.9877, allocations: 190.9 kB / 1.096 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.9878, allocations: 63.75 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.9878, allocations: 8 kB / 1.096 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.9881, allocations: 167.7 kB / 1.096 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.9882, allocations: 23.91 kB / 1.096 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.9882, allocations: 59.73 kB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.9885, allocations: 147.6 kB / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9885, allocations: 0 / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9885, allocations: 0 / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.9885, allocations: 0 / 1.097 GB, free: 11.24 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.0008944/0.9894, allocations: 466.9 kB / 1.097 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9894, allocations: 12.03 kB / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006513/0.9901, allocations: 48.78 kB / 1.097 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.9903, allocations: 212.1 kB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9903, allocations: 12 kB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.9904, allocations: 7.984 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.9908, allocations: 177.8 kB / 1.097 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9908, allocations: 4 kB / 1.097 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.9909, allocations: 7.938 kB / 1.097 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.9909, allocations: 0 / 1.097 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.9914, allocations: 147.7 kB / 1.098 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.9925, allocations: 0.8245 MB / 1.098 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.9929, allocations: 130.5 kB / 1.099 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.9932, allocations: 84.8 kB / 1.099 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.9932, allocations: 0 / 1.099 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.9933, allocations: 30.56 kB / 1.099 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.9933, allocations: 4 kB / 1.099 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001939/0.9952, allocations: 455.1 kB / 1.099 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.9953, allocations: 59.41 kB / 1.099 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.9954, allocations: 155.7 kB / 1.099 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.9954, allocations: 25.7 kB / 1.099 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.9955, allocations: 112.4 kB / 1.099 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.9955, allocations: 23.66 kB / 1.099 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.9956, allocations: 41.59 kB / 1.099 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9958, allocations: 314.8 kB / 1.1 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.996, allocations: 71.92 kB / 1.1 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.9963, allocations: 100.2 kB / 1.1 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.9968, allocations: 184.4 kB / 1.1 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9968, allocations: 4 kB / 1.1 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001015/0.9978, allocations: 278.1 kB / 1.1 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9978, allocations: 11.94 kB / 1.1 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9978, allocations: 4 kB / 1.1 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.9984, allocations: 80.89 kB / 1.1 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.9987, allocations: 35.95 kB / 1.101 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.001, allocations: 1.667 MB / 1.102 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.001, allocations: 23.91 kB / 1.102 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.001, allocations: 4 kB / 1.102 GB, free: 5.031 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 0.0001149/1.001, allocations: 125.8 kB / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/1.002, allocations: 15.81 kB / 1.102 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.003, allocations: 318.8 kB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.003, allocations: 0 / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/1.003, allocations: 0 / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.003, allocations: 4 kB / 1.103 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.003, allocations: 245.4 kB / 1.103 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.003, allocations: 0 / 1.103 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/1.003, allocations: 31.95 kB / 1.103 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/1.004, allocations: 72.78 kB / 1.103 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/1.004, allocations: 7.922 kB / 1.103 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.006, allocations: 1.681 MB / 1.105 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.006, allocations: 0 / 1.105 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/1.007, allocations: 380.1 kB / 1.105 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.007, allocations: 108.8 kB / 1.105 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/1.007, allocations: 4.141 kB / 1.105 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/1.007, allocations: 19.92 kB / 1.105 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/1.007, allocations: 19.97 kB / 1.105 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/1.007, allocations: 3.984 kB / 1.105 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.404e-05/1.007, allocations: 112.8 kB / 1.105 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/1.007, allocations: 0 / 1.105 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003481/1.008, allocations: 43.98 kB / 1.105 GB, free: 1.613 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.000203/1.008, allocations: 123.2 kB / 1.105 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008698/1.009, allocations: 306.7 kB / 1.106 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.009, allocations: 0 / 1.106 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/1.009, allocations: 238.5 kB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.01, allocations: 29.19 kB / 1.106 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/1.01, allocations: 376.5 kB / 1.106 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/1.011, allocations: 0.7162 MB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/1.011, allocations: 23.42 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.011, allocations: 0 / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.005217/1.016, allocations: 2.728 MB / 1.11 GB, free: 13 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (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 & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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