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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001157/0.001157, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001204/0.001204, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 62.94 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003115/0.2544, allocations: 1.676 MB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6473/0.9018, allocations: 149.7 MB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.902, allocations: 1.562 kB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.9023, allocations: 25.3 kB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.9026, allocations: 53.84 kB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.9032, allocations: 188.4 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.9035, allocations: 163.8 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.9036, allocations: 26.41 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.9048, allocations: 193.3 kB / 1.1 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.9049, allocations: 62.22 kB / 1.1 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.905, allocations: 12.19 kB / 1.1 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.9054, allocations: 163.3 kB / 1.1 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.9055, allocations: 25.67 kB / 1.1 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.9056, allocations: 55.48 kB / 1.1 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.906, allocations: 207.9 kB / 1.1 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.906, allocations: 0.5625 kB / 1.1 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.906, allocations: 0.75 kB / 1.1 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.9061, allocations: 0 / 1.1 GB, free: 5.949 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.001057/0.9071, allocations: 469.4 kB / 1.101 GB, free: 21.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9072, allocations: 9.219 kB / 1.101 GB, free: 21.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006646/0.9078, allocations: 55.08 kB / 1.101 GB, free: 21.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.9081, allocations: 211.5 kB / 1.101 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.9081, allocations: 8 kB / 1.101 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.9081, allocations: 4.812 kB / 1.101 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.9086, allocations: 188.1 kB / 1.101 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9086, allocations: 2.969 kB / 1.101 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.9086, allocations: 7.047 kB / 1.101 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.9087, allocations: 2.25 kB / 1.101 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.9092, allocations: 143.1 kB / 1.101 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.9104, allocations: 0.8163 MB / 1.102 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.9108, allocations: 138.2 kB / 1.102 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.9111, allocations: 79.83 kB / 1.102 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.9111, allocations: 1.188 kB / 1.102 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.9112, allocations: 32.33 kB / 1.102 GB, free: 20.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.9112, allocations: 4 kB / 1.102 GB, free: 20.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.002007/0.9132, allocations: 461.3 kB / 1.103 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.9132, allocations: 52.88 kB / 1.103 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.9134, allocations: 155.3 kB / 1.103 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.9134, allocations: 29.14 kB / 1.103 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.9135, allocations: 107.6 kB / 1.103 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.9135, allocations: 29.8 kB / 1.103 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.9136, allocations: 35.8 kB / 1.103 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9138, allocations: 320.1 kB / 1.103 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.914, allocations: 70.06 kB / 1.103 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.9143, allocations: 107 kB / 1.103 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.9148, allocations: 176.2 kB / 1.104 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9148, allocations: 3.656 kB / 1.104 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001059/0.9159, allocations: 277.1 kB / 1.104 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.9159, allocations: 9.094 kB / 1.104 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9159, allocations: 10.62 kB / 1.104 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.9165, allocations: 80.62 kB / 1.104 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.9167, allocations: 37.86 kB / 1.104 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.9189, allocations: 1.653 MB / 1.106 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.9192, allocations: 20.83 kB / 1.106 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.9192, allocations: 5.938 kB / 1.106 GB, free: 18.16 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.0001252/0.9193, allocations: 130.3 kB / 1.106 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.9194, allocations: 13.98 kB / 1.106 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.9205, allocations: 311.2 kB / 1.106 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.9205, allocations: 8.609 kB / 1.106 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.9205, allocations: 3.625 kB / 1.106 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9205, allocations: 4.797 kB / 1.106 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.9208, allocations: 240.7 kB / 1.106 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9208, allocations: 1.406 kB / 1.106 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.921, allocations: 29.22 kB / 1.106 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.9215, allocations: 76.28 kB / 1.106 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.9215, allocations: 5.984 kB / 1.106 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.9234, allocations: 1.682 MB / 1.108 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9234, allocations: 1.125 kB / 1.108 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.9244, allocations: 378.9 kB / 1.108 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.9245, allocations: 106.7 kB / 1.109 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.9246, allocations: 5.156 kB / 1.109 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.9248, allocations: 18.67 kB / 1.109 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.9249, allocations: 20.31 kB / 1.109 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.9249, allocations: 4.75 kB / 1.109 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.892e-05/0.925, allocations: 120.5 kB / 1.109 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.925, allocations: 3.938 kB / 1.109 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000362/0.9254, allocations: 40.89 kB / 1.109 GB, free: 16.02 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.000182/0.9256, allocations: 114.4 kB / 1.109 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008962/0.9265, allocations: 302 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9265, allocations: 5.062 kB / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.927, allocations: 237.9 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.9274, allocations: 34.27 kB / 1.109 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.9283, allocations: 312.3 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.9286, allocations: 0.7084 MB / 1.11 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.9288, allocations: 26.41 kB / 1.11 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/0.9288, allocations: 17.69 kB / 1.11 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.9288, allocations: 1.125 kB / 1.11 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.007965/0.9368, allocations: 3.214 MB / 1.114 GB, free: 14.62 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 -s gbode -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