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.001681/0.001681, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001699/0.001699, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.306/2.306, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.44 kB / 0.8132 GB, free: 32.91 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3259, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003744/0.3297, allocations: 1.665 MB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8764/1.206, allocations: 149.7 MB / 1.098 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/1.206, allocations: 2.031 kB / 1.098 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/1.207, allocations: 26.08 kB / 1.098 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/1.207, allocations: 54.62 kB / 1.098 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/1.208, allocations: 178 kB / 1.098 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/1.208, allocations: 169.4 kB / 1.098 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/1.208, allocations: 35.09 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/1.209, allocations: 181.3 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/1.209, allocations: 62.66 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/1.209, allocations: 8.5 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/1.21, allocations: 166.1 kB / 1.099 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/1.21, allocations: 29.28 kB / 1.099 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/1.21, allocations: 53.75 kB / 1.099 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/1.21, allocations: 200 kB / 1.099 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.21, allocations: 0 / 1.099 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/1.21, allocations: 0.8438 kB / 1.099 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.63e-06/1.21, allocations: 0 / 1.099 GB, free: 5.336 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.001242/1.212, allocations: 469.3 kB / 1.1 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.212, allocations: 9.156 kB / 1.1 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007389/1.212, allocations: 55.88 kB / 1.1 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/1.213, allocations: 211.7 kB / 1.1 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.213, allocations: 6.094 kB / 1.1 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/1.213, allocations: 15.31 kB / 1.1 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/1.213, allocations: 188 kB / 1.1 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.213, allocations: 2.109 kB / 1.1 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.213, allocations: 4.688 kB / 1.1 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.213, allocations: 3.297 kB / 1.1 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/1.214, allocations: 139.2 kB / 1.1 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/1.215, allocations: 0.8227 MB / 1.101 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/1.216, allocations: 131 kB / 1.101 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/1.216, allocations: 80.23 kB / 1.101 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/1.216, allocations: 4.906 kB / 1.101 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.216, allocations: 34.84 kB / 1.101 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/1.216, allocations: 0 / 1.101 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.002266/1.219, allocations: 458.4 kB / 1.102 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.219, allocations: 53.28 kB / 1.102 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.219, allocations: 156.8 kB / 1.102 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/1.219, allocations: 29.58 kB / 1.102 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/1.219, allocations: 112.1 kB / 1.102 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/1.219, allocations: 27.09 kB / 1.102 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/1.219, allocations: 31.86 kB / 1.102 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.219, allocations: 328.4 kB / 1.102 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/1.219, allocations: 69.81 kB / 1.102 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/1.22, allocations: 103.6 kB / 1.103 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/1.22, allocations: 185.3 kB / 1.103 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.22, allocations: 0.5625 kB / 1.103 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001159/1.221, allocations: 279.6 kB / 1.103 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.221, allocations: 5.094 kB / 1.103 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.222, allocations: 6.531 kB / 1.103 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/1.222, allocations: 83.97 kB / 1.103 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/1.222, allocations: 35.36 kB / 1.103 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.225, allocations: 1.661 MB / 1.105 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/1.225, allocations: 21.56 kB / 1.105 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.225, allocations: 8.328 kB / 1.105 GB, free: 17.54 MB / 0.8731 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.0001394/1.225, allocations: 127.6 kB / 1.105 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/1.225, allocations: 20.94 kB / 1.105 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/1.226, allocations: 310.4 kB / 1.105 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.226, allocations: 5.375 kB / 1.105 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/1.226, allocations: 4.75 kB / 1.105 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.226, allocations: 0.7031 kB / 1.105 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/1.227, allocations: 241 kB / 1.105 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.227, allocations: 1.188 kB / 1.105 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/1.227, allocations: 32.03 kB / 1.106 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/1.227, allocations: 78.12 kB / 1.106 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.227, allocations: 6.703 kB / 1.106 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/1.229, allocations: 1.678 MB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.229, allocations: 0 / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.231, allocations: 384 kB / 1.108 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.231, allocations: 107.3 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/1.231, allocations: 7.484 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/1.231, allocations: 14.06 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/1.231, allocations: 18.62 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/1.231, allocations: 4.25 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001134/1.231, allocations: 119.3 kB / 1.108 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.231, allocations: 0 / 1.108 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003758/1.232, allocations: 43.75 kB / 1.108 GB, free: 15.39 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.0002214/1.232, allocations: 119.2 kB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009813/1.233, allocations: 315.4 kB / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.233, allocations: 0 / 1.108 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005734/1.233, allocations: 237.5 kB / 1.109 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/1.234, allocations: 28.75 kB / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/1.235, allocations: 342.6 kB / 1.109 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/1.235, allocations: 0.7074 MB / 1.11 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/1.235, allocations: 20.08 kB / 1.11 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of SimCode: time 1.393e-06/1.235, allocations: 0 / 1.11 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.006376/1.242, allocations: 2.723 MB / 1.112 GB, free: 13.98 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