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.001807/0.001807, 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.002208/0.002208, allocations: 199.1 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.62/2.62, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9194, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003754/0.9232, allocations: 1.659 MB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.194/1.117, allocations: 149.7 MB / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/1.118, allocations: 0 / 1.097 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000218/1.118, allocations: 23.73 kB / 1.097 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/1.118, allocations: 51.58 kB / 1.097 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/1.119, allocations: 191.3 kB / 1.098 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/1.119, allocations: 159.5 kB / 1.098 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/1.119, allocations: 35.06 kB / 1.098 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/1.12, allocations: 178.3 kB / 1.098 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/1.121, allocations: 67.73 kB / 1.098 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/1.121, allocations: 8 kB / 1.098 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/1.121, allocations: 159.8 kB / 1.098 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/1.121, allocations: 27.91 kB / 1.098 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/1.121, allocations: 51.72 kB / 1.098 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/1.122, allocations: 207.3 kB / 1.099 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.122, allocations: 0 / 1.099 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.122, allocations: 0 / 1.099 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.122, allocations: 4 kB / 1.099 GB, free: 8.816 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.0009439/1.123, allocations: 458.9 kB / 1.099 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.123, allocations: 12.03 kB / 1.099 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/1.123, allocations: 56.78 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/1.124, allocations: 208.1 kB / 1.099 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.124, allocations: 11.94 kB / 1.099 GB, free: 8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.124, allocations: 8 kB / 1.099 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/1.124, allocations: 179.9 kB / 1.099 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.124, allocations: 0 / 1.099 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/1.124, allocations: 8 kB / 1.099 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.124, allocations: 3.984 kB / 1.099 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/1.125, allocations: 147.8 kB / 1.1 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/1.126, allocations: 0.8206 MB / 1.1 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/1.126, allocations: 134.4 kB / 1.1 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/1.127, allocations: 80.8 kB / 1.101 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/1.127, allocations: 0 / 1.101 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.127, allocations: 42.55 kB / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/1.127, allocations: 0 / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002117/1.129, allocations: 455.2 kB / 1.101 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.129, allocations: 51.41 kB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/1.129, allocations: 155.7 kB / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/1.129, allocations: 29.7 kB / 1.101 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/1.129, allocations: 112.4 kB / 1.101 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/1.129, allocations: 31.64 kB / 1.101 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/1.129, allocations: 33.61 kB / 1.101 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.13, allocations: 322.8 kB / 1.102 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/1.13, allocations: 63.94 kB / 1.102 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/1.13, allocations: 104.2 kB / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/1.131, allocations: 180.1 kB / 1.102 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.131, allocations: 3.938 kB / 1.102 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001102/1.132, allocations: 278.1 kB / 1.102 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.132, allocations: 12.06 kB / 1.102 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/1.132, allocations: 0 / 1.102 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006571/1.133, allocations: 88.75 kB / 1.102 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1.133, allocations: 31.97 kB / 1.102 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.135, allocations: 1.657 MB / 1.104 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/1.135, allocations: 27.88 kB / 1.104 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/1.135, allocations: 12.39 kB / 1.104 GB, free: 2.605 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.0001274/1.136, allocations: 129.8 kB / 1.104 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/1.136, allocations: 11.81 kB / 1.104 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.137, allocations: 318.8 kB / 1.105 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.137, allocations: 4 kB / 1.105 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/1.137, allocations: 0 / 1.105 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.137, allocations: 3.984 kB / 1.105 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/1.137, allocations: 237.4 kB / 1.105 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.137, allocations: 0 / 1.105 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/1.137, allocations: 27.97 kB / 1.105 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/1.138, allocations: 72.78 kB / 1.105 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/1.138, allocations: 15.92 kB / 1.105 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/1.14, allocations: 1.674 MB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.14, allocations: 4.062 kB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/1.141, allocations: 384.1 kB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/1.141, allocations: 108.8 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/1.141, allocations: 4 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.142, allocations: 15.92 kB / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/1.142, allocations: 19.97 kB / 1.107 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.142, allocations: 8 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.122e-05/1.142, allocations: 112.7 kB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.142, allocations: 4 kB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003482/1.142, allocations: 44 kB / 1.107 GB, free: 15.18 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.0002054/1.142, allocations: 115.2 kB / 1.107 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009672/1.143, allocations: 306.5 kB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.143, allocations: 4 kB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/1.144, allocations: 238.7 kB / 1.108 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/1.144, allocations: 21.08 kB / 1.108 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/1.145, allocations: 316.3 kB / 1.108 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.145, allocations: 0.7124 MB / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001657/1.146, allocations: 24.81 kB / 1.109 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/1.146, allocations: 23.42 kB / 1.109 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.146, allocations: 3.938 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.007428/1.153, allocations: 3.206 MB / 1.112 GB, free: 10.17 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/jenkins/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