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.0008576/0.0008576, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001132/0.001132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.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.465/2.465, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.000373, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8486, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002583/0.8513, allocations: 1.359 MB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1812/1.033, allocations: 136 MB / 1.089 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/1.033, allocations: 3.938 kB / 1.089 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/1.033, allocations: 11.92 kB / 1.089 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002122/1.033, allocations: 43.7 kB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/1.034, allocations: 151.5 kB / 1.089 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000279/1.034, allocations: 147.5 kB / 1.089 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/1.034, allocations: 17.11 kB / 1.089 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/1.034, allocations: 143.6 kB / 1.089 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/1.034, allocations: 51.77 kB / 1.089 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/1.034, allocations: 4 kB / 1.089 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/1.035, allocations: 167.7 kB / 1.089 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/1.035, allocations: 11.98 kB / 1.089 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/1.035, allocations: 41.64 kB / 1.089 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/1.035, allocations: 141.7 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.035, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/1.035, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.038e-06/1.035, allocations: 0 / 1.089 GB, free: 4.852 MB / 0.8419 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.0007712/1.036, allocations: 470.8 kB / 1.09 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/1.036, allocations: 12.03 kB / 1.09 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/1.036, allocations: 55.75 kB / 1.09 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/1.037, allocations: 208.3 kB / 1.09 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.037, allocations: 8 kB / 1.09 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/1.037, allocations: 4 kB / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/1.037, allocations: 199.5 kB / 1.09 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/1.037, allocations: 4 kB / 1.09 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/1.037, allocations: 4 kB / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.037, allocations: 0 / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/1.038, allocations: 167.8 kB / 1.091 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.039, allocations: 0.8285 MB / 1.091 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/1.039, allocations: 134.5 kB / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/1.039, allocations: 92.8 kB / 1.092 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/1.039, allocations: 4.141 kB / 1.092 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.039, allocations: 42.5 kB / 1.092 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/1.039, allocations: 0 / 1.092 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001831/1.041, allocations: 487.2 kB / 1.092 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.041, allocations: 51.41 kB / 1.092 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/1.041, allocations: 156.2 kB / 1.092 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.041, allocations: 25.7 kB / 1.092 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/1.041, allocations: 112.2 kB / 1.092 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/1.042, allocations: 35.55 kB / 1.092 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/1.042, allocations: 0 / 1.092 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.042, allocations: 322.8 kB / 1.093 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/1.042, allocations: 79.92 kB / 1.093 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/1.042, allocations: 116.2 kB / 1.093 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/1.042, allocations: 83.94 kB / 1.093 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.042, allocations: 0 / 1.093 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000912/1.043, allocations: 302.1 kB / 1.093 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.043, allocations: 12.12 kB / 1.093 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.043, allocations: 0 / 1.093 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/1.044, allocations: 84.77 kB / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/1.044, allocations: 43.89 kB / 1.093 GB, free: 488 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/1.046, allocations: 1.551 MB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/1.046, allocations: 35.81 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/1.046, allocations: 4 kB / 1.095 GB, free: 14.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.047, allocations: 129.8 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/1.047, allocations: 7.906 kB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/1.048, allocations: 331 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.048, allocations: 3.938 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/1.048, allocations: 0 / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.048, allocations: 7.984 kB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/1.048, allocations: 241.4 kB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.048, allocations: 0 / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/1.048, allocations: 39.92 kB / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/1.049, allocations: 88.94 kB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/1.049, allocations: 3.984 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/1.05, allocations: 1.559 MB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.05, allocations: 3.984 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/1.051, allocations: 401.2 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/1.051, allocations: 109 kB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/1.051, allocations: 4 kB / 1.098 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/1.052, allocations: 31.97 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/1.052, allocations: 7.984 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/1.052, allocations: 4 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.357e-05/1.052, allocations: 121.5 kB / 1.098 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 7.875 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004378/1.052, allocations: 44 kB / 1.098 GB, free: 11.39 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/1.053, allocations: 111 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008814/1.053, allocations: 330.6 kB / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.053, allocations: 0 / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/1.054, allocations: 244.7 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/1.054, allocations: 32.09 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008389/1.055, allocations: 382.3 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/1.055, allocations: 0.7088 MB / 1.1 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001629/1.056, allocations: 28.94 kB / 1.1 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/1.056, allocations: 23.42 kB / 1.1 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/1.056, allocations: 0 / 1.1 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of Templates: time 0.006774/1.062, allocations: 2.846 MB / 1.103 GB, free: 6.648 MB / 0.8575 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