Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001226/0.001226, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.00134/0.001341, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001558, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9373/0.9388, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003143/0.942, allocations: 1.68 MB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1747/1.117, allocations: 149.7 MB / 1.356 GB, free: 5.656 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/1.117, allocations: 4 kB / 1.356 GB, free: 5.652 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/1.117, allocations: 19.8 kB / 1.356 GB, free: 5.633 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/1.118, allocations: 59.62 kB / 1.356 GB, free: 5.574 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/1.118, allocations: 183.3 kB / 1.356 GB, free: 5.395 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/1.119, allocations: 163.5 kB / 1.357 GB, free: 5.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/1.119, allocations: 25.11 kB / 1.357 GB, free: 5.211 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/1.12, allocations: 207.9 kB / 1.357 GB, free: 5.035 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/1.12, allocations: 67.73 kB / 1.357 GB, free: 4.969 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/1.12, allocations: 8 kB / 1.357 GB, free: 4.961 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/1.121, allocations: 163.7 kB / 1.357 GB, free: 4.801 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/1.121, allocations: 27.84 kB / 1.357 GB, free: 4.773 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/1.121, allocations: 59.7 kB / 1.357 GB, free: 4.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/1.121, allocations: 201.1 kB / 1.357 GB, free: 4.523 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.121, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.194e-06/1.121, allocations: 4 kB / 1.357 GB, free: 4.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.121, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.076 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.0009469/1.122, allocations: 467 kB / 1.358 GB, free: 4.016 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.122, allocations: 11.97 kB / 1.358 GB, free: 4.004 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/1.123, allocations: 60.69 kB / 1.358 GB, free: 3.945 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/1.123, allocations: 206.8 kB / 1.358 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.123, allocations: 4 kB / 1.358 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/1.123, allocations: 8 kB / 1.358 GB, free: 3.691 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/1.124, allocations: 183.2 kB / 1.358 GB, free: 3.492 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.124, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/1.124, allocations: 4 kB / 1.358 GB, free: 3.488 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.124, allocations: 4 kB / 1.358 GB, free: 3.484 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/1.124, allocations: 143.8 kB / 1.358 GB, free: 3.344 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.125, allocations: 0.8167 MB / 1.359 GB, free: 2.449 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/1.126, allocations: 138.5 kB / 1.359 GB, free: 2.305 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.126, allocations: 72.8 kB / 1.359 GB, free: 2.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/1.126, allocations: 7.938 kB / 1.359 GB, free: 2.223 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.126, allocations: 34.56 kB / 1.359 GB, free: 2.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.126, allocations: 7.938 kB / 1.359 GB, free: 2.172 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001969/1.128, allocations: 451.2 kB / 1.36 GB, free: 1.703 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.128, allocations: 55.34 kB / 1.36 GB, free: 1.637 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/1.128, allocations: 154.2 kB / 1.36 GB, free: 1.477 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.128, allocations: 25.7 kB / 1.36 GB, free: 1.445 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/1.129, allocations: 112.2 kB / 1.36 GB, free: 1.332 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/1.129, allocations: 35.69 kB / 1.36 GB, free: 1.297 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/1.129, allocations: 29.7 kB / 1.36 GB, free: 1.262 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.129, allocations: 326.8 kB / 1.361 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/1.129, allocations: 71.94 kB / 1.361 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/1.129, allocations: 108.2 kB / 1.361 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/1.13, allocations: 172.1 kB / 1.361 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.13, allocations: 0 / 1.361 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001065/1.131, allocations: 274.1 kB / 1.361 GB, free: 288 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.131, allocations: 7.938 kB / 1.361 GB, free: 280 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.131, allocations: 4 kB / 1.361 GB, free: 276 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/1.132, allocations: 84.89 kB / 1.361 GB, free: 188 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/1.132, allocations: 39.89 kB / 1.361 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/1.134, allocations: 1.65 MB / 1.363 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/1.135, allocations: 31.81 kB / 1.363 GB, free: 14.31 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/1.135, allocations: 4 kB / 1.363 GB, free: 14.31 MB / 1.092 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.0001268/1.135, allocations: 130.6 kB / 1.363 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/1.135, allocations: 7.906 kB / 1.363 GB, free: 14.16 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.136, allocations: 310.9 kB / 1.363 GB, free: 13.86 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.136, allocations: 4 kB / 1.363 GB, free: 13.85 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.136, allocations: 0 / 1.363 GB, free: 13.85 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.136, allocations: 7.922 kB / 1.363 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/1.136, allocations: 253.3 kB / 1.364 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.136, allocations: 3.984 kB / 1.364 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/1.136, allocations: 27.97 kB / 1.364 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/1.137, allocations: 76.78 kB / 1.364 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/1.137, allocations: 7.922 kB / 1.364 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.139, allocations: 1.67 MB / 1.365 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.139, allocations: 4.062 kB / 1.365 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.14, allocations: 387.5 kB / 1.366 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/1.14, allocations: 108.9 kB / 1.366 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/1.14, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.14, allocations: 19.92 kB / 1.366 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/1.14, allocations: 16.03 kB / 1.366 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/1.14, allocations: 8 kB / 1.366 GB, free: 11.04 MB / 1.092 GB Notification: Performance of sorting global known variables: time 8.684e-05/1.141, allocations: 117.5 kB / 1.366 GB, free: 10.93 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.91e-07/1.141, allocations: 3.938 kB / 1.366 GB, free: 10.93 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003448/1.141, allocations: 43.91 kB / 1.366 GB, free: 10.88 MB / 1.092 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.0002284/1.141, allocations: 115.2 kB / 1.366 GB, free: 10.76 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009626/1.142, allocations: 302.5 kB / 1.366 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.142, allocations: 256 / 1.366 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005434/1.143, allocations: 226.6 kB / 1.367 GB, free: 10.22 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/1.143, allocations: 20.53 kB / 1.367 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/1.144, allocations: 349.1 kB / 1.367 GB, free: 9.824 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.144, allocations: 0.7046 MB / 1.368 GB, free: 9.094 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/1.144, allocations: 19.42 kB / 1.368 GB, free: 9.074 MB / 1.092 GB Notification: Performance of SimCode: time 2.2e-07/1.144, allocations: 0 / 1.368 GB, free: 9.074 MB / 1.092 GB Notification: Performance of Templates: time 0.005282/1.15, allocations: 2.754 MB / 1.37 GB, free: 6.332 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches