Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001335/0.001335, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.05 kB / 0.8685 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7159, allocations: 151.6 MB / 1.017 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002975/0.7189, allocations: 1.737 MB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.8986, allocations: 147.4 MB / 1.162 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.8988, allocations: 8 kB / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.8991, allocations: 15.86 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.8995, allocations: 43.7 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.9001, allocations: 163.5 kB / 1.162 GB, free: 13.17 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.9004, allocations: 151.5 kB / 1.163 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.9006, allocations: 27.2 kB / 1.163 GB, free: 13 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.903, allocations: 185.8 kB / 1.163 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.9031, allocations: 67.73 kB / 1.163 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.9032, allocations: 4 kB / 1.163 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.9035, allocations: 163.7 kB / 1.163 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.9036, allocations: 19.92 kB / 1.163 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.9037, allocations: 55.7 kB / 1.163 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.9041, allocations: 191.5 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9041, allocations: 3.984 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9041, allocations: 0 / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.9041, allocations: 0 / 1.163 GB, free: 12.34 MB / 0.92 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.0009857/0.9051, allocations: 467 kB / 1.164 GB, free: 11.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9052, allocations: 11.97 kB / 1.164 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.9059, allocations: 60.69 kB / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.9061, allocations: 206.8 kB / 1.164 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.9062, allocations: 8 kB / 1.164 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.9062, allocations: 4 kB / 1.164 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.9067, allocations: 183.6 kB / 1.164 GB, free: 11.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9067, allocations: 3.938 kB / 1.164 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.9067, allocations: 0 / 1.164 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.9068, allocations: 4 kB / 1.164 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.9073, allocations: 149.8 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.9085, allocations: 0.8242 MB / 1.165 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.909, allocations: 134.5 kB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.9092, allocations: 84.78 kB / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.9093, allocations: 0 / 1.165 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.9093, allocations: 30.56 kB / 1.165 GB, free: 9.988 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 3.146e-06/0.9093, allocations: 7.984 kB / 1.165 GB, free: 9.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.002045/0.9114, allocations: 463 kB / 1.166 GB, free: 9.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.9114, allocations: 51.41 kB / 1.166 GB, free: 9.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.9116, allocations: 155.8 kB / 1.166 GB, free: 9.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.9116, allocations: 25.7 kB / 1.166 GB, free: 9.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.9117, allocations: 108.2 kB / 1.166 GB, free: 9.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.9117, allocations: 31.7 kB / 1.166 GB, free: 9.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.9118, allocations: 33.7 kB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9119, allocations: 322.8 kB / 1.167 GB, free: 8.738 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.9122, allocations: 67.94 kB / 1.167 GB, free: 8.672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.9125, allocations: 116.1 kB / 1.167 GB, free: 8.543 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.913, allocations: 176.1 kB / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.913, allocations: 0 / 1.167 GB, free: 8.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001086/0.9141, allocations: 274.1 kB / 1.167 GB, free: 8.078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.9141, allocations: 14.11 kB / 1.167 GB, free: 8.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9142, allocations: 4 kB / 1.167 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.9148, allocations: 80.89 kB / 1.167 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.915, allocations: 31.97 kB / 1.167 GB, free: 7.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.9172, allocations: 1.555 MB / 1.169 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.9175, allocations: 19.83 kB / 1.169 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.9175, allocations: 15.98 kB / 1.169 GB, free: 6.223 MB / 0.92 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.0001232/0.9176, allocations: 122.3 kB / 1.169 GB, free: 6.094 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.9177, allocations: 7.906 kB / 1.169 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.9188, allocations: 319.1 kB / 1.169 GB, free: 5.758 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.9188, allocations: 0 / 1.169 GB, free: 5.758 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.9189, allocations: 0 / 1.169 GB, free: 5.758 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.9189, allocations: 3.938 kB / 1.169 GB, free: 5.754 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.9192, allocations: 245.3 kB / 1.169 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.9192, allocations: 4 kB / 1.169 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.9194, allocations: 31.95 kB / 1.169 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/0.9199, allocations: 92.64 kB / 1.17 GB, free: 5.336 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.92, allocations: 8 kB / 1.17 GB, free: 5.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.9219, allocations: 1.563 MB / 1.171 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9219, allocations: 0 / 1.171 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.923, allocations: 382.3 kB / 1.171 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.9231, allocations: 104.8 kB / 1.172 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.9231, allocations: 3.984 kB / 1.172 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.9234, allocations: 15.98 kB / 1.172 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.9234, allocations: 15.92 kB / 1.172 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.9235, allocations: 11.98 kB / 1.172 GB, free: 3.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.652e-05/0.9236, allocations: 113.3 kB / 1.172 GB, free: 2.961 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9236, allocations: 0 / 1.172 GB, free: 2.961 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003445/0.9239, allocations: 44 kB / 1.172 GB, free: 2.918 MB / 0.92 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.0002022/0.9241, allocations: 107.2 kB / 1.172 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009173/0.9251, allocations: 314.5 kB / 1.172 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9251, allocations: 0 / 1.172 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.9256, allocations: 234.7 kB / 1.172 GB, free: 2.238 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.926, allocations: 29.77 kB / 1.172 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.9269, allocations: 350.4 kB / 1.173 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.9273, allocations: 0.7088 MB / 1.173 GB, free: 1.109 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.9274, allocations: 28.83 kB / 1.173 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.9275, allocations: 15.42 kB / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.9275, allocations: 0 / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of Templates: time 0.006867/0.9344, allocations: 2.955 MB / 1.176 GB, free: 14.14 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches