Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005878/0.005878, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001326/0.001326, allocations: 190.8 kB / 16.79 MB, free: 6.254 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 63.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7191, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004289/0.7234, allocations: 1.97 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.8983, allocations: 153.1 MB / 1.169 GB, free: 7.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.8985, allocations: 3.938 kB / 1.169 GB, free: 7.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.8988, allocations: 15.86 kB / 1.169 GB, free: 7.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.8992, allocations: 75.53 kB / 1.169 GB, free: 7.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.9, allocations: 223.4 kB / 1.169 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.9004, allocations: 255.2 kB / 1.169 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.9006, allocations: 64.38 kB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.9027, allocations: 230.5 kB / 1.17 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.9029, allocations: 87.59 kB / 1.17 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.903, allocations: 12 kB / 1.17 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.9034, allocations: 179.7 kB / 1.17 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.9035, allocations: 39.83 kB / 1.17 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.9036, allocations: 91.52 kB / 1.17 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.9039, allocations: 199.6 kB / 1.17 GB, free: 5.699 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9039, allocations: 0 / 1.17 GB, free: 5.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9039, allocations: 0 / 1.17 GB, free: 5.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.9039, allocations: 0 / 1.17 GB, free: 5.699 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001064/0.905, allocations: 0.5338 MB / 1.171 GB, free: 5.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.9051, allocations: 12.03 kB / 1.171 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009009/0.906, allocations: 83.72 kB / 1.171 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.9063, allocations: 226.6 kB / 1.171 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.9064, allocations: 38.03 kB / 1.171 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.9064, allocations: 19.98 kB / 1.171 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.907, allocations: 262.6 kB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.907, allocations: 0 / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.907, allocations: 11.98 kB / 1.171 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.9071, allocations: 4 kB / 1.171 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.9075, allocations: 168.3 kB / 1.171 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.9093, allocations: 1.184 MB / 1.173 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.91, allocations: 202.7 kB / 1.173 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.9102, allocations: 80.75 kB / 1.173 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.9103, allocations: 0 / 1.173 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.9103, allocations: 34.56 kB / 1.173 GB, free: 2.641 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.9103, allocations: 0 / 1.173 GB, free: 2.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.00278/0.9131, allocations: 0.6219 MB / 1.174 GB, free: 1.969 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.9131, allocations: 59.34 kB / 1.174 GB, free: 1.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.9134, allocations: 218.9 kB / 1.174 GB, free: 1.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.9134, allocations: 29.7 kB / 1.174 GB, free: 1.641 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.9135, allocations: 136 kB / 1.174 GB, free: 1.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.9136, allocations: 43.36 kB / 1.174 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.9137, allocations: 49.62 kB / 1.174 GB, free: 1.406 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9138, allocations: 326.8 kB / 1.174 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.914, allocations: 75.94 kB / 1.174 GB, free: 1.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.9143, allocations: 124.4 kB / 1.175 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.9147, allocations: 209.8 kB / 1.175 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9147, allocations: 7.938 kB / 1.175 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001483/0.9162, allocations: 370.8 kB / 1.175 GB, free: 252 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9162, allocations: 11.98 kB / 1.175 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9162, allocations: 0 / 1.175 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.9174, allocations: 161.6 kB / 1.175 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.9176, allocations: 43.95 kB / 1.175 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.9215, allocations: 3.024 MB / 1.178 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.9219, allocations: 35.8 kB / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.9219, allocations: 11.98 kB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.9221, allocations: 125.8 kB / 1.178 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.9221, allocations: 23.75 kB / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.9235, allocations: 378.1 kB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9235, allocations: 0 / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9235, allocations: 3.938 kB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9235, allocations: 0 / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.9238, allocations: 277.4 kB / 1.179 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9239, allocations: 8 kB / 1.179 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.924, allocations: 19.98 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009932/0.925, allocations: 161.5 kB / 1.179 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.925, allocations: 8 kB / 1.179 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.9285, allocations: 3.072 MB / 1.182 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9286, allocations: 4.031 kB / 1.182 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.9298, allocations: 432.6 kB / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.93, allocations: 108.8 kB / 1.183 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.93, allocations: 8.125 kB / 1.183 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.9303, allocations: 19.92 kB / 1.183 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.9304, allocations: 23.91 kB / 1.183 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.9304, allocations: 8 kB / 1.183 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001823/0.9306, allocations: 159.2 kB / 1.183 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9306, allocations: 0 / 1.183 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004622/0.9311, allocations: 83.84 kB / 1.183 GB, free: 7.402 MB / 0.9356 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.9313, allocations: 115.2 kB / 1.183 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9323, allocations: 432.2 kB / 1.184 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9324, allocations: 7.938 kB / 1.184 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.933, allocations: 350 kB / 1.184 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.9335, allocations: 57.78 kB / 1.184 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.9345, allocations: 0.5214 MB / 1.184 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.9348, allocations: 0.7323 MB / 1.185 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.9349, allocations: 15.44 kB / 1.185 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.9349, allocations: 8 kB / 1.185 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.007002/0.9419, allocations: 4.407 MB / 1.19 GB, free: 0.6719 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches